From 3fe34e17dfed6d2fd39e7217a58470d3eb33bd3a Mon Sep 17 00:00:00 2001 From: fvanroie Date: Tue, 28 Nov 2023 16:17:09 +0100 Subject: [PATCH] Fix esp_crt_bundle_set --- src/mqtt/hasp_mqtt_esp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mqtt/hasp_mqtt_esp.cpp b/src/mqtt/hasp_mqtt_esp.cpp index 74488f85..f505002c 100644 --- a/src/mqtt/hasp_mqtt_esp.cpp +++ b/src/mqtt/hasp_mqtt_esp.cpp @@ -465,8 +465,8 @@ static esp_err_t mqtt_event_handler(esp_mqtt_event_handle_t event) void mqttSetup() { queue = xQueueCreate(64, sizeof(mqtt_message_t)); - //esp_crt_bundle_set(rootca_crt_bundle_start); - arduino_esp_crt_bundle_set(rootca_crt_bundle_start); + esp_crt_bundle_set(rootca_crt_bundle_start, rootca_crt_bundle_end-rootca_crt_bundle_start); + //arduino_esp_crt_bundle_set(rootca_crt_bundle_start); mqttStart(); }