mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Disable RC4 by default in the library
This commit is contained in:
@ -4908,6 +4908,8 @@ int ssl_init( ssl_context *ssl )
|
||||
|
||||
ssl_set_ciphersuites( ssl, ssl_list_ciphersuites() );
|
||||
|
||||
ssl_set_arc4_support( ssl, SSL_ARC4_DISABLED );
|
||||
|
||||
#if defined(POLARSSL_SSL_RENEGOTIATION)
|
||||
ssl->renego_max_records = SSL_RENEGO_MAX_RECORDS_DEFAULT;
|
||||
memset( ssl->renego_period, 0xFF, 7 );
|
||||
|
Reference in New Issue
Block a user