wolfSSL: Allow TLS version 1.3 to be disabled
Signed-off-by: Juliusz Sosinowicz <juliusz@wolfssl.com>
This commit is contained in:
parent
a40e48fbe1
commit
a2971f8d8e
1 changed files with 2 additions and 0 deletions
|
@ -1282,6 +1282,8 @@ static void tls_set_conn_flags(WOLFSSL *ssl, unsigned int flags)
|
|||
wolfSSL_set_options(ssl, SSL_OP_NO_TLSv1_1);
|
||||
if (flags & TLS_CONN_DISABLE_TLSv1_2)
|
||||
wolfSSL_set_options(ssl, SSL_OP_NO_TLSv1_2);
|
||||
if (flags & TLS_CONN_DISABLE_TLSv1_3)
|
||||
wolfSSL_set_options(ssl, SSL_OP_NO_TLSv1_3);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue