summaryrefslogtreecommitdiffstats
path: root/qmail-remote.c
diff options
context:
space:
mode:
Diffstat (limited to 'qmail-remote.c')
-rw-r--r--qmail-remote.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/qmail-remote.c b/qmail-remote.c
index 4119228..02c69e3 100644
--- a/qmail-remote.c
+++ b/qmail-remote.c
@@ -472,6 +472,7 @@ int tls_init()
472 smtptext.len = 0; 472 smtptext.len = 0;
473 tls_quit_error("ZTLS error initializing ctx"); 473 tls_quit_error("ZTLS error initializing ctx");
474 } 474 }
475 SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv2);
475 476
476 if (servercert) { 477 if (servercert) {
477 if (!SSL_CTX_load_verify_locations(ctx, servercert, NULL)) { 478 if (!SSL_CTX_load_verify_locations(ctx, servercert, NULL)) {