1
0
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:
Manuel Pégourié-Gonnard
2015-03-20 19:13:22 +00:00
parent 391af97a71
commit 849b174e57
3 changed files with 6 additions and 3 deletions

View File

@ -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 );