summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/ssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/smtpd/ssl.c')
-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 e921382392d..1bbdd5c6203 100644
--- a/usr.sbin/smtpd/ssl.c
+++ b/usr.sbin/smtpd/ssl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl.c,v 1.14 2009/05/18 20:23:35 jacekm Exp $ */
+/* $OpenBSD: ssl.c,v 1.15 2009/05/19 22:41:35 gilles Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -384,9 +384,6 @@ ssl_load_certfile(struct smtpd *env, const char *name)
return (-1);
}
- if (s->ssl_cert == NULL || s->ssl_key == NULL)
- fatal("invalid certificates");
-
SPLAY_INSERT(ssltree, &env->sc_ssl, s);
return (0);