diff options
-rw-r--r-- | ssl/t1_enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c index 37cd25d8dd..d97b9a8ea9 100644 --- a/ssl/t1_enc.c +++ b/ssl/t1_enc.c @@ -480,7 +480,7 @@ int tls1_generate_master_secret(SSL *s, unsigned char *out, unsigned char *p, * handshake hash). This will need to be removed later */ if ((s->session->flags & SSL_SESS_FLAG_EXTMS) - && SSL_IS_TLS13(s)) { + && !SSL_IS_TLS13(s)) { unsigned char hash[EVP_MAX_MD_SIZE * 2]; size_t hashlen; /* |