Skip to content

Commit 96637ba

Browse files
committed
Fix broker WSS
1 parent f0179a2 commit 96637ba

2 files changed

Lines changed: 0 additions & 15 deletions

File tree

examples/websocket/net_libwebsockets.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,6 @@
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 */

src/mqtt_broker.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff 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) */

0 commit comments

Comments
 (0)