Fix cipher_compare
authorRichard Levitte <levitte@openssl.org>
Sat, 8 Jul 2017 20:13:24 +0000 (22:13 +0200)
committerRichard Levitte <levitte@openssl.org>
Sun, 9 Jul 2017 06:51:47 +0000 (08:51 +0200)
commitfbd3e06b64a1d4733eb95fc3ed0e35bb4c3a726e
tree93f55f529c9bb711a6d580ba1fb9c2dee3c4421c
parent64903a26c5855347738825d7724e76e8a89180f3
Fix cipher_compare

Unsigned overflow.  Found by Brian Carpenter

Fixes #3889

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3890)

(cherry picked from commit a7ff57965b81ce4fd73a18266ce29abf6b909fdb)
ssl/s3_lib.c