Skip to content

Commit

Permalink
no SNI on ESP8266
Browse files Browse the repository at this point in the history
  • Loading branch information
gojimmypi committed Oct 8, 2024
1 parent ecd050e commit c51d82f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,10 @@
#endif
#endif
#define HAVE_ALPN
#define HAVE_SNI
#ifndef CONFIG_IDF_TARGET_ESP8266
/* SNI Not supported on ESP8266 at this time */
#define HAVE_SNI
#endif
#define OPENSSL_EXTRA_X509_SMALL

#define HAVE_TLS_EXTENSIONS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ See wolfssl/wolfcrypt/port/Espressif/esp32-crypt.h for details on debug options
optionally increase error message size for very long paths.
#define WOLFSSL_MAX_ERROR_SZ 500
Turn debugging on/off:
Turn wolfSSL debugging on/off:
wolfSSL_Debugging_ON();
wolfSSL_Debugging_OFF();
Expand Down Expand Up @@ -863,7 +863,7 @@ Turn on timer debugging (used when CPU cycles not available)
/* Pause in a loop rather than exit. */
/* #define WOLFSSL_ESPIDF_ERROR_PAUSE */
/* #define WOLFSSL_ESP32_HW_LOCK_DEBUG */
#define DEBUG_WOLFSSL_BENCHMARK_TIMING

#define WOLFSSL_HW_METRICS

/* for test.c */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,10 @@
#endif
#endif
#define HAVE_ALPN
#define HAVE_SNI
#ifndef CONFIG_IDF_TARGET_ESP8266
/* SNI Not supported on ESP8266 at this time */
#define HAVE_SNI
#endif
#define OPENSSL_EXTRA_X509_SMALL

#define HAVE_TLS_EXTENSIONS
Expand Down Expand Up @@ -823,7 +826,7 @@ See wolfssl/wolfcrypt/port/Espressif/esp32-crypt.h for details on debug options
optionally increase error message size for very long paths.
#define WOLFSSL_MAX_ERROR_SZ 500
Turn debugging on/off:
Turn wolfSSL debugging on/off:
wolfSSL_Debugging_ON();
wolfSSL_Debugging_OFF();
Expand Down

0 comments on commit c51d82f

Please sign in to comment.