mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-30 00:00:16 +01:00
esp32: unbreak including mbedtls bits from mbedtls integration
This commit is contained in:
parent
8cb341314a
commit
3ea4fcf8a5
1 changed files with 4 additions and 0 deletions
|
@ -273,6 +273,9 @@ lws_plat_get_peer_simple(struct lws *wsi, char *name, int namelen);
|
||||||
#define OPENSSL_NO_TLSEXT
|
#define OPENSSL_NO_TLSEXT
|
||||||
#endif /* not USE_OLD_CYASSL */
|
#endif /* not USE_OLD_CYASSL */
|
||||||
#else
|
#else
|
||||||
|
#if defined(LWS_WITH_ESP32)
|
||||||
|
#define OPENSSL_NO_TLSEXT
|
||||||
|
#else
|
||||||
#if defined(LWS_USE_MBEDTLS)
|
#if defined(LWS_USE_MBEDTLS)
|
||||||
#include <mbedtls/ssl.h>
|
#include <mbedtls/ssl.h>
|
||||||
#include <mbedtls/x509_crt.h>
|
#include <mbedtls/x509_crt.h>
|
||||||
|
@ -294,6 +297,7 @@ lws_plat_get_peer_simple(struct lws *wsi, char *name, int namelen);
|
||||||
*/
|
*/
|
||||||
#define OPENSSL_NO_TLSEXT
|
#define OPENSSL_NO_TLSEXT
|
||||||
#endif
|
#endif
|
||||||
|
#endif /* not ESP32 */
|
||||||
#endif /* not USE_WOLFSSL */
|
#endif /* not USE_WOLFSSL */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue