mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-16 08:42:50 +00:00
Modify MBEDTLS_SSL_UNEXPECTED_CID_{FAIL|IGNORE} to ignore by default
This commit is contained in:
parent
5d12467fad
commit
7fefd83b34
@ -2310,8 +2310,8 @@ void mbedtls_ssl_conf_ciphersuites( mbedtls_ssl_config *conf,
|
|||||||
const int *ciphersuites );
|
const int *ciphersuites );
|
||||||
|
|
||||||
#if defined(MBEDTLS_SSL_CID)
|
#if defined(MBEDTLS_SSL_CID)
|
||||||
#define MBEDTLS_SSL_UNEXPECTED_CID_FAIL 0
|
#define MBEDTLS_SSL_UNEXPECTED_CID_IGNORE 0
|
||||||
#define MBEDTLS_SSL_UNEXPECTED_CID_IGNORE 1
|
#define MBEDTLS_SSL_UNEXPECTED_CID_FAIL 1
|
||||||
/**
|
/**
|
||||||
* \brief Specify the length of CIDs for incoming encrypted DTLS
|
* \brief Specify the length of CIDs for incoming encrypted DTLS
|
||||||
* records and specify the behaviour on unexpected CIDs.
|
* records and specify the behaviour on unexpected CIDs.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user