File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131
3232#ifdef ENABLE_MQTT_WEBSOCKET
3333
34- /* When wolfSSL is present (ENABLE_MQTT_TLS), tell libwebsockets to use the
35- * wolfSSL header path instead of system OpenSSL to avoid type conflicts. */
36- #ifdef ENABLE_MQTT_TLS
37- #ifndef USE_WOLFSSL
38- #define USE_WOLFSSL
39- #endif
40- #endif
4134#include <libwebsockets.h>
4235
4336/* Network context for libwebsockets */
Original file line number Diff line number Diff line change @@ -463,14 +463,6 @@ static void BrokerTls_Free(MqttBroker* broker)
463463/* -------------------------------------------------------------------------- */
464464#ifdef ENABLE_MQTT_WEBSOCKET
465465
466- /* When wolfSSL is present (ENABLE_MQTT_TLS), tell libwebsockets to use the
467- * wolfSSL header path (<wolfssl/openssl/ssl.h>) instead of the system OpenSSL
468- * headers, which would conflict with wolfSSL's OPENSSL_EXTRA compat layer. */
469- #ifdef ENABLE_MQTT_TLS
470- #ifndef USE_WOLFSSL
471- #define USE_WOLFSSL
472- #endif
473- #endif
474466#include <libwebsockets.h>
475467
476468/* Forward declaration for the no-op connect callback (defined after WS section) */
You can’t perform that action at this time.
0 commit comments