This commit is contained in:
yhirose committed 2025-10-25 22:06:42 -04:00
1 parent afa88dbe70
commit 2d8d524178
2 files changed
+47

No files matched your search

+5
View File
@@ -11208,6 +11208,11 @@ inline bool SSLClient::initialize_ssl(Socket &socket, Error &error) {
return true;
}
if (ctx_ == nullptr) {
error = Error::SSLConnection;
last_openssl_error_ = ERR_get_error();
}
shutdown_socket(socket);
close_socket(socket);
return false;