From: Dr. Stephen Henson Date: Thu, 15 Apr 2004 00:32:19 +0000 (+0000) Subject: Clear error if unique_subject lookup fails. X-Git-Tag: BEN_FIPS_TEST_6~14^2~298 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ae44fc1ec4c0d6c125c28f52dc06e9ae87c59c4c;p=oweals%2Fopenssl.git Clear error if unique_subject lookup fails. --- 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