mirror of
https://github.com/espressif/openthread.git
synced 2026-07-29 23:27:46 +00:00
[efr32] conditional definition for MBEDTLS_SSL_MAX_CONTENT_LEN (#6004)
This commit is contained in:
@@ -14,7 +14,11 @@
|
||||
// <i> Default: 768
|
||||
// <i> The size configured here determines the size of each of the two
|
||||
// <i> internal I/O buffers used in mbedTLS when sending and receiving data.
|
||||
#define MBEDTLS_SSL_MAX_CONTENT_LEN 768
|
||||
#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE
|
||||
#define MBEDTLS_SSL_MAX_CONTENT_LEN 900 /**< Maximum fragment length in bytes */
|
||||
#else
|
||||
#define MBEDTLS_SSL_MAX_CONTENT_LEN 768 /**< Maximum fragment length in bytes */
|
||||
#endif
|
||||
|
||||
// <q SL_MBEDTLS_SSL_MAX_FRAGMENT_LENGTH> Enable support for RFC 6066 max_fragment_length extension in SSL.
|
||||
// <i> Default: 1
|
||||
|
||||
Reference in New Issue
Block a user