aboutsummaryrefslogtreecommitdiffstats
path: root/apps/ca.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2004-04-15 00:32:19 +0000
committerDr. Stephen Henson <steve@openssl.org>2004-04-15 00:32:19 +0000
commitae44fc1ec4c0d6c125c28f52dc06e9ae87c59c4c (patch)
tree556b8f25fba354d000a10c788a520c494fa40cc3 /apps/ca.c
parent28722cf2127b6541656d7ac320e22234a8a77e34 (diff)
downloadopenssl-ae44fc1ec4c0d6c125c28f52dc06e9ae87c59c4c.tar.gz
Clear error if unique_subject lookup fails.
Diffstat (limited to 'apps/ca.c')
-rw-r--r--apps/ca.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/ca.c b/apps/ca.c
index afcbfcd8b8..2e8377391a 100644
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -650,8 +650,10 @@ bad:
#endif
db_attr.unique_subject = parse_yesno(p,1);
}
-#ifdef RL_DEBUG
else
+ ERR_clear_error();
+#ifdef RL_DEBUG
+ if (!p)
BIO_printf(bio_err, "DEBUG: unique_subject undefined\n", p);
#endif
#ifdef RL_DEBUG