提交 82c9c030 编写于 作者: M Matt Caswell

Fix EXTMS error introduced by commit 94ed2c67

Commit 94ed2c67 dropped a ! operator by mistake, which causes extended
master secret connections to fail. This puts in back.
Reviewed-by: NRichard Levitte <levitte@openssl.org>
上级 19cb71ef
......@@ -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;
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册