clear bogus errors in ca utility
authorDr. Stephen Henson <steve@openssl.org>
Sun, 14 Mar 2010 13:07:48 +0000 (13:07 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 14 Mar 2010 13:07:48 +0000 (13:07 +0000)
apps/ca.c

index e287d2a..346ffd2 100644 (file)
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -1408,6 +1408,7 @@ bad:
                        if (!NCONF_get_number(conf,section,
                                ENV_DEFAULT_CRL_HOURS, &crlhours))
                                crlhours = 0;
+                       ERR_clear_error();
                        }
                if ((crldays == 0) && (crlhours == 0) && (crlsec == 0))
                        {