From ae44fc1ec4c0d6c125c28f52dc06e9ae87c59c4c Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 15 Apr 2004 00:32:19 +0000 Subject: [PATCH] Clear error if unique_subject lookup fails. --- apps/ca.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.25.1