summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2015-12-12 14:01:57 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2015-12-12 14:01:57 +0000
commite9c7de92f11cfa920cd8fce429c19ff7f05626aa (patch)
treea43d97a7b0d84c81457ae1c9f0ca724e24b2c7b6 /usr.sbin/smtpd
parentfce051cab867e42e478290b49aea3e06bcb104ca (diff)
remove redundant check
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r--usr.sbin/smtpd/smtp_session.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/smtp_session.c b/usr.sbin/smtpd/smtp_session.c
index b1269049a49..710034cf0e8 100644
--- a/usr.sbin/smtpd/smtp_session.c
+++ b/usr.sbin/smtpd/smtp_session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtp_session.c,v 1.252 2015/12/12 11:31:29 sunil Exp $ */
+/* $OpenBSD: smtp_session.c,v 1.253 2015/12/12 14:01:56 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -868,8 +868,6 @@ smtp_session_imsg(struct mproc *p, struct imsg *imsg)
}
resp_ca_cert = xmemdup(imsg->data, sizeof *resp_ca_cert, "smtp:ca_cert");
- if (resp_ca_cert == NULL)
- fatal(NULL);
resp_ca_cert->cert = xstrdup((char *)imsg->data +
sizeof *resp_ca_cert, "smtp:ca_cert");
if (s->listener->pki_name[0])