diff --git a/lib/private-libwebsockets.h b/lib/private-libwebsockets.h index 3cb4ca44..de7d9342 100644 --- a/lib/private-libwebsockets.h +++ b/lib/private-libwebsockets.h @@ -273,6 +273,9 @@ lws_plat_get_peer_simple(struct lws *wsi, char *name, int namelen); #define OPENSSL_NO_TLSEXT #endif /* not USE_OLD_CYASSL */ #else +#if defined(LWS_WITH_ESP32) +#define OPENSSL_NO_TLSEXT +#else #if defined(LWS_USE_MBEDTLS) #include #include @@ -294,6 +297,7 @@ lws_plat_get_peer_simple(struct lws *wsi, char *name, int namelen); */ #define OPENSSL_NO_TLSEXT #endif +#endif /* not ESP32 */ #endif /* not USE_WOLFSSL */ #endif