mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-03 06:11:13 +00:00
Disable the enforce flag by default
This commit is contained in:
parent
842be16800
commit
18b9a491e1
|
@ -2829,7 +2829,7 @@ void mbedtls_ssl_conf_extended_master_secret( mbedtls_ssl_config *conf, char ems
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Enable or disable Extended Master Secret enforcing.
|
* \brief Enable or disable Extended Master Secret enforcing.
|
||||||
* (Default: MBEDTLS_SSL_EXTENDED_MS_ENFORCE_ENABLED)
|
* (Default: MBEDTLS_SSL_EXTENDED_MS_ENFORCE_DISABLED)
|
||||||
*
|
*
|
||||||
* \note This enforces the peer to use the Extended Master Secret
|
* \note This enforces the peer to use the Extended Master Secret
|
||||||
* extension, if the option is enabled and the peer doesn't
|
* extension, if the option is enabled and the peer doesn't
|
||||||
|
|
|
@ -10302,7 +10302,7 @@ int mbedtls_ssl_config_defaults( mbedtls_ssl_config *conf,
|
||||||
#if defined(MBEDTLS_SSL_EXTENDED_MASTER_SECRET)
|
#if defined(MBEDTLS_SSL_EXTENDED_MASTER_SECRET)
|
||||||
conf->extended_ms = MBEDTLS_SSL_EXTENDED_MS_ENABLED;
|
conf->extended_ms = MBEDTLS_SSL_EXTENDED_MS_ENABLED;
|
||||||
conf->enforce_extended_master_secret =
|
conf->enforce_extended_master_secret =
|
||||||
MBEDTLS_SSL_EXTENDED_MS_ENFORCE_ENABLED;
|
MBEDTLS_SSL_EXTENDED_MS_ENFORCE_DISABLED;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MBEDTLS_SSL_CBC_RECORD_SPLITTING)
|
#if defined(MBEDTLS_SSL_CBC_RECORD_SPLITTING)
|
||||||
|
|
Loading…
Reference in a new issue