aboutsummaryrefslogtreecommitdiff
path: root/openssl/ssl/s2_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/ssl/s2_lib.c')
-rw-r--r--openssl/ssl/s2_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/ssl/s2_lib.c b/openssl/ssl/s2_lib.c
index f8a943930..d55b93f76 100644
--- a/openssl/ssl/s2_lib.c
+++ b/openssl/ssl/s2_lib.c
@@ -493,7 +493,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);