mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-03-15 22:26:31 +03:00
fix standalone
This commit is contained in:
@@ -6,6 +6,8 @@ For a copy, see <https://opensource.org/licenses/MIT> or
|
||||
the LICENSE file.
|
||||
*/
|
||||
|
||||
#ifndef NO_TLS_SUPPORT
|
||||
|
||||
#include "ClientSecureSync.h"
|
||||
#include "mbedtls_ssl.h" // triggers compilation of mbedtls SSL module (stripped from Tasmota libmbedtls.a)
|
||||
|
||||
@@ -157,3 +159,4 @@ void ClientSecureSync::setInsecure() {
|
||||
|
||||
} // namespace espMqttClientInternals
|
||||
|
||||
#endif
|
||||
@@ -8,7 +8,8 @@ the LICENSE file.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <IPAddress.h>
|
||||
#ifndef NO_TLS_SUPPORT
|
||||
|
||||
#include "esp_tls.h"
|
||||
#include "Transport.h"
|
||||
|
||||
@@ -44,3 +45,5 @@ class ClientSecureSync : public Transport {
|
||||
};
|
||||
|
||||
} // namespace espMqttClientInternals
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user