summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2014-10-02 19:14:57 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2014-10-02 19:14:57 +0000
commit239360c13980ac780a7eaac45aa59848b082c098 (patch)
tree32d97272a015254024621dda27a88efa92a1cbce
parent55f7b15d33938346da53c71aed95acee165d3aa5 (diff)
no need to set the same field NULL twice ;-)
ok reyk@
-rw-r--r--usr.sbin/smtpd/ca.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/ca.c b/usr.sbin/smtpd/ca.c
index ea9c83f49f4..94e341f1ce9 100644
--- a/usr.sbin/smtpd/ca.c
+++ b/usr.sbin/smtpd/ca.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ca.c,v 1.10 2014/07/10 20:16:48 jsg Exp $ */
+/* $OpenBSD: ca.c,v 1.11 2014/10/02 19:14:56 gilles Exp $ */
/*
* Copyright (c) 2014 Reyk Floeter <reyk@openbsd.org>
@@ -561,8 +561,6 @@ ca_engine_init(void)
if (rsa_default->rsa_mod_exp == NULL)
rsae_method.rsa_mod_exp = NULL;
- if (rsa_default->rsa_mod_exp == NULL)
- rsae_method.rsa_mod_exp = NULL;
if (rsa_default->bn_mod_exp == NULL)
rsae_method.bn_mod_exp = NULL;
if (rsa_default->rsa_keygen == NULL)