mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-23 18:21:01 +00: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:
parent
c2cfdaa693
commit
f3400da3ca
|
@ -80,7 +80,7 @@
|
||||||
#define MBEDTLS_SSL_DTLS_CONNECTION_ID
|
#define MBEDTLS_SSL_DTLS_CONNECTION_ID
|
||||||
|
|
||||||
/* Compile-time fixed parts of the SSL configuration */
|
/* 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_READ_TIMEOUT 0
|
||||||
#define MBEDTLS_SSL_CONF_HS_TIMEOUT_MIN 1000
|
#define MBEDTLS_SSL_CONF_HS_TIMEOUT_MIN 1000
|
||||||
#define MBEDTLS_SSL_CONF_HS_TIMEOUT_MAX 16000
|
#define MBEDTLS_SSL_CONF_HS_TIMEOUT_MAX 16000
|
||||||
|
|
Loading…
Reference in a new issue