Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions libraries/ESP8266WiFi/src/WiFiClientSecureBearSSL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1003,6 +1003,12 @@ bool WiFiClientSecure::_connectSSL(const char* hostName) {
DEBUG_BSSL("Connected!\n");
}
#endif

// Session is already validated here, there is no need to keep following
_x509_minimal = nullptr;
_x509_insecure = nullptr;
_x509_knownkey = nullptr;

return ret;
}

Expand Down