mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2024-12-29 09:21:19 +00:00
Switch renego define from disable to enable
This commit is contained in:
parent
9db41f0996
commit
55f968b2c9
@ -19,7 +19,6 @@
|
||||
/* mbed TLS feature support */
|
||||
#define POLARSSL_KEY_EXCHANGE_PSK_ENABLED
|
||||
#define POLARSSL_SSL_PROTO_TLS1_2
|
||||
#define POLARSSL_SSL_DISABLE_RENEGOTIATION
|
||||
|
||||
/* mbed TLS modules */
|
||||
#define POLARSSL_AES_C
|
||||
|
@ -18,7 +18,6 @@
|
||||
#define POLARSSL_PKCS1_V15
|
||||
#define POLARSSL_KEY_EXCHANGE_RSA_ENABLED
|
||||
#define POLARSSL_SSL_PROTO_TLS1_1
|
||||
#define POLARSSL_SSL_DISABLE_RENEGOTIATION
|
||||
|
||||
/* mbed TLS modules */
|
||||
#define POLARSSL_AES_C
|
||||
|
@ -19,7 +19,6 @@
|
||||
/* mbed TLS feature support */
|
||||
#define POLARSSL_KEY_EXCHANGE_PSK_ENABLED
|
||||
#define POLARSSL_SSL_PROTO_TLS1
|
||||
#define POLARSSL_SSL_DISABLE_RENEGOTIATION
|
||||
|
||||
/* mbed TLS modules */
|
||||
#define POLARSSL_AES_C
|
||||
|
@ -25,7 +25,6 @@
|
||||
#define POLARSSL_ECP_DP_SECP384R1_ENABLED
|
||||
#define POLARSSL_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
|
||||
#define POLARSSL_SSL_PROTO_TLS1_2
|
||||
#define POLARSSL_SSL_DISABLE_RENEGOTIATION
|
||||
|
||||
/* mbed TLS modules */
|
||||
#define POLARSSL_AES_C
|
||||
|
@ -911,7 +911,7 @@
|
||||
#define POLARSSL_SSL_CBC_RECORD_SPLITTING
|
||||
|
||||
/**
|
||||
* \def POLARSSL_SSL_DISABLE_RENEGOTIATION
|
||||
* \def POLARSSL_SSL_RENEGOTIATION
|
||||
*
|
||||
* Disable support for TLS renegotiation.
|
||||
*
|
||||
@ -921,12 +921,9 @@
|
||||
* it has been associated with security issues in the past and is easy to
|
||||
* misuse/misunderstand.
|
||||
*
|
||||
* Warning: in the next stable branch, this switch will be replaced by
|
||||
* POLARSSL_SSL_RENEGOTIATION to enable support for renegotiation.
|
||||
*
|
||||
* Uncomment this to disable support for renegotiation.
|
||||
* Comment this to disable support for renegotiation.
|
||||
*/
|
||||
//#define POLARSSL_SSL_DISABLE_RENEGOTIATION
|
||||
#define POLARSSL_SSL_RENEGOTIATION
|
||||
|
||||
/**
|
||||
* \def POLARSSL_SSL_SRV_SUPPORT_SSLV2_CLIENT_HELLO
|
||||
|
@ -30,11 +30,6 @@
|
||||
#include POLARSSL_CONFIG_FILE
|
||||
#endif
|
||||
|
||||
/* Temporary compatibility trick for the current stable branch */
|
||||
#if !defined(POLARSSL_SSL_DISABLE_RENEGOTIATION)
|
||||
#define POLARSSL_SSL_RENEGOTIATION
|
||||
#endif
|
||||
|
||||
#include "net.h"
|
||||
#include "bignum.h"
|
||||
#include "ecp.h"
|
||||
|
Loading…
Reference in New Issue
Block a user