From 949f3fdc32e8b02bcc7f22d5e94aa64f83840883 Mon Sep 17 00:00:00 2001 From: Barbudor Date: Wed, 1 Feb 2023 21:40:04 +0100 Subject: [PATCH] enfore TLS for sml decryption (#17852) --- tasmota/include/tasmota_configurations.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tasmota/include/tasmota_configurations.h b/tasmota/include/tasmota_configurations.h index bc572e890..5eecd5436 100644 --- a/tasmota/include/tasmota_configurations.h +++ b/tasmota/include/tasmota_configurations.h @@ -1073,7 +1073,13 @@ #ifdef USE_SCRIPT #define USE_UNISHOX_COMPRESSION // Add support for string compression +#if defined(USE_SML_M) && !defined(NO_USE_SML_DECRYPT) +#ifndef USE_TLS // Add support for TLS as requires by SML decryption +#define USE_TLS #endif +#endif +#endif + #ifdef USE_ZIGBEE #define USE_UNISHOX_COMPRESSION // Add support for string compression #endif