From 8e94e99ccb51b2a94e9e99d2b67a461312390c89 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 15 Apr 2004 00:33:24 +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 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 -- 2.40.0