summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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