mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-19 16:56:34 +00:00
Satisfy requirements when enabling MQTT TLS from user_config_override.h
It is always needed to define `USE_TLS` if using `USE_MQTT_TLS`. The key `USE_TLS` is used inside the TLS_mini library (specifically at the top of WiFiClientSecureLightBearSSL.h).
This commit is contained in:
parent
08b5691a41
commit
5ac29a5f62
@ -501,7 +501,6 @@
|
|||||||
#ifdef USE_ZBBRIDGE_TLS // Enable TLS for ZbBridge
|
#ifdef USE_ZBBRIDGE_TLS // Enable TLS for ZbBridge
|
||||||
#define USE_MQTT_TLS // Use TLS for MQTT connection (+34.5k code, +7.0k mem and +4.8k additional during connection handshake)
|
#define USE_MQTT_TLS // Use TLS for MQTT connection (+34.5k code, +7.0k mem and +4.8k additional during connection handshake)
|
||||||
#define USE_MQTT_AWS_IOT_LIGHT // Enable MQTT for AWS IoT in light mode, with user/password instead of private certificate
|
#define USE_MQTT_AWS_IOT_LIGHT // Enable MQTT for AWS IoT in light mode, with user/password instead of private certificate
|
||||||
#define USE_TLS // flag indicates we need to include TLS code
|
|
||||||
#endif // USE_ZBBRIDGE_TLS
|
#endif // USE_ZBBRIDGE_TLS
|
||||||
|
|
||||||
//#undef USE_KNX // Disable KNX IP Protocol Support
|
//#undef USE_KNX // Disable KNX IP Protocol Support
|
||||||
@ -940,7 +939,6 @@
|
|||||||
#undef USE_BERRY
|
#undef USE_BERRY
|
||||||
//#undef USE_WEBCLIENT
|
//#undef USE_WEBCLIENT
|
||||||
//#undef USE_WEBCLIENT_HTTPS
|
//#undef USE_WEBCLIENT_HTTPS
|
||||||
//#undef USE_TLS // needed for MQTT over TLS
|
|
||||||
|
|
||||||
#endif // FIRMWARE_MINICUSTOM
|
#endif // FIRMWARE_MINICUSTOM
|
||||||
|
|
||||||
@ -1047,4 +1045,8 @@
|
|||||||
#define USE_UNISHOX_COMPRESSION // Add support for string compression
|
#define USE_UNISHOX_COMPRESSION // Add support for string compression
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef USE_MQTT_TLS // If TLS for MQTT is enabled:
|
||||||
|
#define USE_TLS // flag indicates we need to include TLS code
|
||||||
|
#endif // USE_MQTT_TLS
|
||||||
|
|
||||||
#endif // _TASMOTA_CONFIGURATIONS_H_
|
#endif // _TASMOTA_CONFIGURATIONS_H_
|
||||||
|
Loading…
x
Reference in New Issue
Block a user