mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-01 10:06:53 +03:00
Remove transitional always-on internal option
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
@ -5066,15 +5066,9 @@ int mbedtls_ssl_handle_message_type(mbedtls_ssl_context *ssl)
|
||||
|
||||
#if defined(MBEDTLS_SSL_PROTO_TLS1_3)
|
||||
if (ssl->tls_version == MBEDTLS_SSL_VERSION_TLS1_3) {
|
||||
#if defined(MBEDTLS_SSL_TLS1_3_ACCEPT_COMPATIBILITY_MODE)
|
||||
MBEDTLS_SSL_DEBUG_MSG(1,
|
||||
("Ignore ChangeCipherSpec in TLS 1.3 compatibility mode"));
|
||||
return MBEDTLS_ERR_SSL_CONTINUE_PROCESSING;
|
||||
#else
|
||||
MBEDTLS_SSL_DEBUG_MSG(1,
|
||||
("ChangeCipherSpec invalid in TLS 1.3 without compatibility mode"));
|
||||
return MBEDTLS_ERR_SSL_INVALID_RECORD;
|
||||
#endif /* MBEDTLS_SSL_TLS1_3_ACCEPT_COMPATIBILITY_MODE */
|
||||
}
|
||||
#endif /* MBEDTLS_SSL_PROTO_TLS1_3 */
|
||||
}
|
||||
|
Reference in New Issue
Block a user