Commit b30d0d72 authored by deuce's avatar deuce
Browse files

Fix incorrect log messages.

parent 0aa397bc
......@@ -1137,7 +1137,7 @@ static void pop3_thread(void* arg)
break;
}
if ((stat=cryptSetAttribute(session, CRYPT_SESSINFO_SSL_OPTIONS, CRYPT_SSLOPTION_DISABLE_CERTVERIFY)) != CRYPT_OK) {
GCESH(stat, "POP3", socket, host_ip, session, "creating session");
GCESH(stat, "POP3", socket, host_ip, session, "disabling certificate verification");
buf[0] = 0;
break;
}
......@@ -2800,7 +2800,7 @@ static void smtp_thread(void* arg)
return;
}
if ((cstat = cryptCreateSession(&session, CRYPT_UNUSED, CRYPT_SESSION_SSL_SERVER)) != CRYPT_OK) {
GCES(cstat, "SMTP", socket, CRYPT_UNUSED, "setting network socket");
GCES(cstat, "SMTP", socket, CRYPT_UNUSED, "creating session");
mail_close_socket(socket);
thread_down();
return;
......@@ -5115,7 +5115,7 @@ static SOCKET sendmail_negotiate(CRYPT_SESSION *session, smb_t *smb, smbmsg_t *m
continue;
}
if ((status=cryptSetAttribute(*session, CRYPT_SESSINFO_SSL_OPTIONS, CRYPT_SSLOPTION_DISABLE_CERTVERIFY)) != CRYPT_OK) {
GCESH(status, "SMTP", sock, server, *session, "creating TLS session");
GCESH(status, "SMTP", sock, server, *session, "disabling certificate verification");
continue;
}
if ((status=cryptSetAttribute(*session, CRYPT_OPTION_CERT_COMPLIANCELEVEL, CRYPT_COMPLIANCELEVEL_OBLIVIOUS)) != CRYPT_OK) {
......@@ -5135,7 +5135,7 @@ static SOCKET sendmail_negotiate(CRYPT_SESSION *session, smb_t *smb, smbmsg_t *m
continue;
}
if ((status=cryptSetAttribute(*session, CRYPT_SESSINFO_ACTIVE, 1)) != CRYPT_OK) {
GCESH(status, "SMTP", sock, server, *session, "setting network socket");
GCESH(status, "SMTP", sock, server, *session, "setting session active");
continue;
}
if (startup->max_inactivity) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment