From 96ee25a2d1c4572eff65188c2391b3f3eec01559 Mon Sep 17 00:00:00 2001 From: Stephan Hadinger Date: Mon, 10 Jun 2019 20:04:34 +0200 Subject: [PATCH] Fixed compilation error --- sonoff/xdrv_02_mqtt.ino | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sonoff/xdrv_02_mqtt.ino b/sonoff/xdrv_02_mqtt.ino index 2bffefa29..e987844ba 100644 --- a/sonoff/xdrv_02_mqtt.ino +++ b/sonoff/xdrv_02_mqtt.ino @@ -128,11 +128,10 @@ void MqttInit(void) { #endif #ifdef USE_MQTT_TLS_CA_CERT - tlsClient->setTrustAnchor(&LetsEncryptX3CrossSigned_TA); #ifdef USE_MQTT_AWS_IOT tlsClient->setTrustAnchor(&AmazonRootCA1_TA); #else - // LETSENCRYPT CA TODO + tlsClient->setTrustAnchor(&LetsEncryptX3CrossSigned_TA); #endif // USE_MQTT_AWS_IOT #endif // USE_MQTT_TLS_CA_CERT