Skip to content

Commit 3480f40

Browse files
authored
Merge pull request #159 from pennam/mbedtls-sni
mbedtls: enable server name indication extension
2 parents bd5b7fd + ec2f44c commit 3480f40

File tree

4 files changed

+1
-1
lines changed

4 files changed

+1
-1
lines changed

Diff for: extras/tls/config-c33.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
#define MBEDTLS_PKCS1_V21
3434
#define MBEDTLS_SELF_TEST
3535
#define MBEDTLS_VERSION_FEATURES
36+
#define MBEDTLS_SSL_SERVER_NAME_INDICATION
3637

3738
/* mbed TLS modules */
3839
#define MBEDTLS_AES_C
@@ -119,7 +120,6 @@
119120

120121
/* Reduce RAM usage */
121122
#define MBEDTLS_ECP_FIXED_POINT_OPTIM 0 /* To reduce peak memory usage */
122-
#define MBEDTLS_SSL_MAX_CONTENT_LEN (1024 * 10) /* Reduce SSL frame buffer. */
123123
#define MBEDTLS_MPI_WINDOW_SIZE 1
124124
#define MBEDTLS_ECP_WINDOW_SIZE 2
125125
#define MBEDTLS_MPI_MAX_SIZE 512 /* Maximum number of bytes for usable MPIs. */

Diff for: libraries/SSLClient/src/cortex-m33/libmbedcrypto.a

48 Bytes
Binary file not shown.

Diff for: libraries/SSLClient/src/cortex-m33/libmbedtls.a

2.76 KB
Binary file not shown.

Diff for: libraries/SSLClient/src/cortex-m33/libmbedx509.a

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)