From ad2188cc0b11ab479f3ef0028b344c2333ea94b5 Mon Sep 17 00:00:00 2001 From: Niek van der Maas Date: Tue, 10 Sep 2019 11:57:02 +0200 Subject: [PATCH] Fix HTTPS support with OTA_CLIENT_HTTPUPDATE (#1894) --- code/espurna/ota_httpupdate.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/espurna/ota_httpupdate.ino b/code/espurna/ota_httpupdate.ino index 53ffee27..6cb2b49a 100644 --- a/code/espurna/ota_httpupdate.ino +++ b/code/espurna/ota_httpupdate.ino @@ -186,7 +186,7 @@ void _otaClientFrom(const String& url) { return; } - #if SECURE_CLIENT_SUPPORT + #if SECURE_CLIENT != SECURE_CLIENT_NONE if (url.startsWith("https://")) { _otaClientFromHttps(url); return;