summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/ssl/s2_lib.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2015-03-19 17:40:43 +0000
committerdelphij <delphij@FreeBSD.org>2015-03-19 17:40:43 +0000
commitfc2b8b39295ae7b252b4d347ec1ae0f8809bcf28 (patch)
tree7326cab4871c580c3c53398f142c5ce3756ffa2e /crypto/openssl/ssl/s2_lib.c
parentc07681e98fa5c95043dac5a322c9d6ad25abca8c (diff)
downloadFreeBSD-src-fc2b8b39295ae7b252b4d347ec1ae0f8809bcf28.zip
FreeBSD-src-fc2b8b39295ae7b252b4d347ec1ae0f8809bcf28.tar.gz
Fix multiple OpenSSL vulnerabilities.
Security: FreeBSD-SA-15:06.openssl Security: CVE-2015-0209 Security: CVE-2015-0286 Security: CVE-2015-0287 Security: CVE-2015-0288 Security: CVE-2015-0289 Security: CVE-2015-0293
Diffstat (limited to 'crypto/openssl/ssl/s2_lib.c')
-rw-r--r--crypto/openssl/ssl/s2_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/openssl/ssl/s2_lib.c b/crypto/openssl/ssl/s2_lib.c
index c63be30..3c0d6a5 100644
--- a/crypto/openssl/ssl/s2_lib.c
+++ b/crypto/openssl/ssl/s2_lib.c
@@ -488,7 +488,7 @@ int ssl2_generate_key_material(SSL *s)
OPENSSL_assert(s->session->master_key_length >= 0
&& s->session->master_key_length
- < (int)sizeof(s->session->master_key));
+ <= (int)sizeof(s->session->master_key));
EVP_DigestUpdate(&ctx,s->session->master_key,s->session->master_key_length);
EVP_DigestUpdate(&ctx,&c,1);
c++;
OpenPOWER on IntegriCloud