From 286395c4baaca1adc5c479d6fcbf9189e08cd09d Mon Sep 17 00:00:00 2001 From: Zandt Tittle Date: Thu, 11 Jan 2018 23:07:27 -0600 Subject: [PATCH] initialize io_ctx to nullptr --- libraries/ESP8266WiFi/src/WiFiClientSecure.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/ESP8266WiFi/src/WiFiClientSecure.cpp b/libraries/ESP8266WiFi/src/WiFiClientSecure.cpp index 53c86c3422..4876a4710c 100644 --- a/libraries/ESP8266WiFi/src/WiFiClientSecure.cpp +++ b/libraries/ESP8266WiFi/src/WiFiClientSecure.cpp @@ -420,7 +420,7 @@ class SSLContext size_t _available = 0; BufferList _writeBuffers; bool _allowSelfSignedCerts = false; - ClientContext* io_ctx; + ClientContext* io_ctx = nullptr; }; SSL_CTX* SSLContext::_ssl_ctx = nullptr;