mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-05-08 18:54:23 +02:00
Don't incl. CAs in CertReq message in baremetal build
This commit modifies the baremetal configuration to disables the inclusion of the list of accepted CAs in the CertificateRequest message sent by the server. Impact on code-size: | | GCC 8.2.1 | ARMC5 5.06 | ARMC6 6.12 | | --- | --- | --- | --- | | `libmbedtls.a` before | 23099 | 23781 | 26639 | | `libmbedtls.a` before | 22995 | 23689 | 26515 | | gain in Bytes | 104 | 92 | 124 |
This commit is contained in:
@@ -80,7 +80,7 @@
|
||||
#define MBEDTLS_SSL_DTLS_CONNECTION_ID
|
||||
|
||||
/* Compile-time fixed parts of the SSL configuration */
|
||||
#define MBEDTLS_SSL_CONF_CERT_REQ_CA_LIST MBEDTLS_SSL_CERT_REQ_CA_LIST_ENABLED
|
||||
#define MBEDTLS_SSL_CONF_CERT_REQ_CA_LIST MBEDTLS_SSL_CERT_REQ_CA_LIST_DISABLED
|
||||
#define MBEDTLS_SSL_CONF_READ_TIMEOUT 0
|
||||
#define MBEDTLS_SSL_CONF_HS_TIMEOUT_MIN 1000
|
||||
#define MBEDTLS_SSL_CONF_HS_TIMEOUT_MAX 16000
|
||||
|
||||
Reference in New Issue
Block a user