Skip to content

Commit bb1b9f9

Browse files
committed
Dont test validity of certificate
Signed-off-by: Matej Marusak <[email protected]>
1 parent 38083d2 commit bb1b9f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ISA/imap.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ bool IMAP::connect_to_server_s(std::string host, int port, std::string file, std
135135
error(ERR_reason_error_string(ERR_get_error()), 5);
136136

137137

138-
if (SSL_get_verify_result(ssl) != X509_V_OK)
139-
error("Certificate could not be verified", 8);
138+
//if (SSL_get_verify_result(ssl) != X509_V_OK)
139+
// error("Certificate could not be verified", 8);
140140

141141
connection_sock_s = outbio;
142142
return error_happened();

0 commit comments

Comments
 (0)