summaryrefslogtreecommitdiffstats
path: root/qmail-remote.c
diff options
context:
space:
mode:
Diffstat (limited to 'qmail-remote.c')
-rw-r--r--qmail-remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmail-remote.c b/qmail-remote.c
index adb7343..6c7fba0 100644
--- a/qmail-remote.c
+++ b/qmail-remote.c
@@ -483,7 +483,7 @@ int tls_init()
483 smtptext.len = 0; 483 smtptext.len = 0;
484 tls_quit_error("ZTLS error initializing ctx"); 484 tls_quit_error("ZTLS error initializing ctx");
485 } 485 }
486 SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv2); 486 SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3);
487 487
488 if (servercert) { 488 if (servercert) {
489 if (!SSL_CTX_load_verify_locations(ctx, servercert, NULL)) { 489 if (!SSL_CTX_load_verify_locations(ctx, servercert, NULL)) {