提交 751b26b1 编写于 作者: T Tatsuhiro Tsujikawa 提交者: Matt Caswell

Don't change client random in Client Hello in its second flight

Reviewed-by: NBen Kaduk <kaduk@mit.edu>
Reviewed-by: NMatt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4490)
上级 30ff41be
......@@ -1035,8 +1035,9 @@ int tls_construct_client_hello(SSL *s, WPACKET *pkt)
break;
}
}
} else
i = 1;
} else {
i = s->hello_retry_request == 0;
}
if (i && ssl_fill_hello_random(s, 0, p, sizeof(s->s3->client_random),
DOWNGRADE_NONE) <= 0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册