From 54e909a126bf059c1521e18926cbbdf963d6f4b9 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Tue, 22 Dec 2020 17:32:37 +0000 Subject: [PATCH] mbedtls: tls flow for mqtt --- lib/core-net/client/connect4.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core-net/client/connect4.c b/lib/core-net/client/connect4.c index a31eebfae..a47f28567 100644 --- a/lib/core-net/client/connect4.c +++ b/lib/core-net/client/connect4.c @@ -178,7 +178,7 @@ send_hs: /* for a method = "RAW" connection, this makes us * established */ -#if defined(LWS_WITH_TLS) && !defined(LWS_WITH_MBEDTLS) +#if defined(LWS_WITH_TLS)// && !defined(LWS_WITH_MBEDTLS) /* we have connected if we got here */ @@ -297,7 +297,7 @@ send_hs: * and won't until many retries from main loop. To stop that * becoming endless, cover with a timeout. */ -#if defined(LWS_WITH_TLS) && !defined(LWS_WITH_MBEDTLS) +#if defined(LWS_WITH_TLS) //&& !defined(LWS_WITH_MBEDTLS) provoke_service: #endif lws_set_timeout(wsi, PENDING_TIMEOUT_SENT_CLIENT_HANDSHAKE,