From a69b4315eb8baa8eb9fa3edc7031ee847f1a8756 Mon Sep 17 00:00:00 2001 From: Hanno Becker Date: Tue, 14 May 2019 11:44:35 +0100 Subject: [PATCH] Modify MBEDTLS_SSL_UNEXPECTED_CID_{FAIL|IGNORE} to ignore by default --- include/mbedtls/ssl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mbedtls/ssl.h b/include/mbedtls/ssl.h index d29c7bd33..9424cb687 100644 --- a/include/mbedtls/ssl.h +++ b/include/mbedtls/ssl.h @@ -2157,8 +2157,8 @@ void mbedtls_ssl_conf_ciphersuites( mbedtls_ssl_config *conf, const int *ciphersuites ); #if defined(MBEDTLS_SSL_CID) -#define MBEDTLS_SSL_UNEXPECTED_CID_FAIL 0 -#define MBEDTLS_SSL_UNEXPECTED_CID_IGNORE 1 +#define MBEDTLS_SSL_UNEXPECTED_CID_IGNORE 0 +#define MBEDTLS_SSL_UNEXPECTED_CID_FAIL 1 /** * \brief Specify the length of CIDs for incoming encrypted DTLS * records and specify the behaviour on unexpected CIDs.