提交 cda6b998 编写于 作者: M Matt Caswell

Disable requests for renegotiation in TLSv1.3

Reviewed-by: NRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2259)
上级 c7f47786
......@@ -1716,6 +1716,10 @@ int SSL_shutdown(SSL *s)
int SSL_renegotiate(SSL *s)
{
/* Do nothing in TLS1.3 */
if (SSL_IS_TLS13(s))
return 1;
if (s->renegotiate == 0)
s->renegotiate = 1;
......@@ -1726,6 +1730,10 @@ int SSL_renegotiate(SSL *s)
int SSL_renegotiate_abbreviated(SSL *s)
{
/* Do nothing in TLS1.3 */
if (SSL_IS_TLS13(s))
return 1;
if (s->renegotiate == 0)
s->renegotiate = 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册