From: Dr. Stephen Henson Date: Thu, 15 Apr 2004 00:33:24 +0000 (+0000) Subject: Clear error if unique_subject lookup fails. X-Git-Tag: OpenSSL_0_9_7e~128 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e94e99ccb51b2a94e9e99d2b67a461312390c89;p=openssl Clear error if unique_subject lookup fails. --- 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