Fix EXTMS error introduced by commit 94ed2c6
Commit 94ed2c6
dropped a ! operator by mistake, which causes extended
master secret connections to fail. This puts in back.
Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
parent
19cb71ef6e
commit
82c9c03017
1 changed files with 1 additions and 1 deletions
|
@ -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
|
* handshake hash). This will need to be removed later
|
||||||
*/
|
*/
|
||||||
if ((s->session->flags & SSL_SESS_FLAG_EXTMS)
|
if ((s->session->flags & SSL_SESS_FLAG_EXTMS)
|
||||||
&& SSL_IS_TLS13(s)) {
|
&& !SSL_IS_TLS13(s)) {
|
||||||
unsigned char hash[EVP_MAX_MD_SIZE * 2];
|
unsigned char hash[EVP_MAX_MD_SIZE * 2];
|
||||||
size_t hashlen;
|
size_t hashlen;
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue