summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/ssl.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/smtpd/ssl.c b/usr.sbin/smtpd/ssl.c
index b9281f25503..3378cfa7d19 100644
--- a/usr.sbin/smtpd/ssl.c
+++ b/usr.sbin/smtpd/ssl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl.c,v 1.43 2011/12/21 21:10:15 chl Exp $ */
+/* $OpenBSD: ssl.c,v 1.44 2012/01/11 20:00:37 gilles Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -454,14 +454,11 @@ ssl_setup(struct listener *l)
l->ssl_ctx = ssl_ctx_create();
-/*
if (l->ssl->ssl_ca != NULL) {
if (! ssl_ctx_load_verify_memory(l->ssl_ctx,
l->ssl->ssl_ca, l->ssl->ssl_ca_len))
goto err;
- SSL_CTX_set_verify(l->ssl_ctx, SSL_VERIFY_PEER, NULL);
}
-*/
if (!ssl_ctx_use_certificate_chain(l->ssl_ctx,
l->ssl->ssl_cert, l->ssl->ssl_cert_len))