Skip to content

Commit 0950089

Browse files
authored
set _use_insecure back to false in setCACert method. (espressif#8386)
1 parent 1945778 commit 0950089

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: libraries/WiFiClientSecure/src/WiFiClientSecure.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ void WiFiClientSecure::setInsecure()
272272
void WiFiClientSecure::setCACert (const char *rootCA)
273273
{
274274
_CA_cert = rootCA;
275+
_use_insecure = false;
275276
}
276277

277278
void WiFiClientSecure::setCACertBundle(const uint8_t * bundle)

0 commit comments

Comments
 (0)