Skip to content

Commit

Permalink
Add SNI support for Linux systems
Browse files Browse the repository at this point in the history
  • Loading branch information
jiakun02 committed Dec 7, 2024
1 parent 64f26eb commit e8e8c5f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deps/mbedtls-config.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@
#define MBEDTLS_SSL_PROTO_TLS1_1
#define MBEDTLS_SSL_PROTO_TLS1_2

/* Enable SNI in TLS handshake */
#define MBEDTLS_SSL_SERVER_NAME_INDICATION 1

/* mbed TLS modules */
#define MBEDTLS_AES_C
#define MBEDTLS_ASN1_PARSE_C
Expand Down

0 comments on commit e8e8c5f

Please sign in to comment.