mirror of
https://github.com/openssl/openssl.git
synced 2025-02-23 14:42:15 +08:00
Don't use SSLv2 compatible client hello if we don't tolerate legacy renegotiation
This commit is contained in:
parent
64abf5e657
commit
4d09323a63
@ -305,6 +305,8 @@ static int ssl23_client_hello(SSL *s)
|
||||
ssl2_compat = 0;
|
||||
if (s->tlsext_status_type != -1)
|
||||
ssl2_compat = 0;
|
||||
if (!(s->ctx->options & SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION))
|
||||
ssl2_compat = 0;
|
||||
|
||||
#ifdef TLSEXT_TYPE_opaque_prf_input
|
||||
if (s->ctx->tlsext_opaque_prf_input_callback != 0 || s->tlsext_opaque_prf_input != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user