Skip to content

Commit e12f0ac

Browse files
committed
Adapt buffer size for minimal CCM config
This is useful for testing interop with GnuTLS, which sends records larger than 512 bytes. This change is triggered by the addition of CCM interop testing with GnuTLS a few commits ago.
1 parent 1f092b4 commit e12f0ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configs/config-ccm-psk-tls1_2.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
* both ends of the connection! (See comments in "mbedtls/ssl.h".)
8282
* The optimal size here depends on the typical size of records.
8383
*/
84-
#define MBEDTLS_SSL_MAX_CONTENT_LEN 512
84+
#define MBEDTLS_SSL_MAX_CONTENT_LEN 1024
8585

8686
#include "mbedtls/check_config.h"
8787

0 commit comments

Comments
 (0)