summaryrefslogtreecommitdiffstats
path: root/apps/ca.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2004-04-15 00:33:24 +0000
committerDr. Stephen Henson <steve@openssl.org>2004-04-15 00:33:24 +0000
commit8e94e99ccb51b2a94e9e99d2b67a461312390c89 (patch)
tree02769b241f59fe71b5be018a0aa82de7c86d9a30 /apps/ca.c
parente20db949484d105bc502b076b44f7b206881e5c8 (diff)
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 2db61b1eae..11bf296d30 100644
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -666,8 +666,10 @@ bad:
break;
}
}
-#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