commit | 6ca487992bc63d45f9780c6b83eecf025830e34b | [log] [tgz] |
---|---|---|
author | Dr. Stephen Henson <steve@openssl.org> | Sun Oct 21 01:05:53 2001 +0000 |
committer | Dr. Stephen Henson <steve@openssl.org> | Sun Oct 21 01:05:53 2001 +0000 |
tree | 9899405db9c921825506d23b246b67337e44f848 | |
parent | cf3a5cebd7d1a2094da18930acc3c926d7094ecd [diff] [blame] |
Stop spurious "unable to load config info" errors in req
diff --git a/apps/openssl.c b/apps/openssl.c index 7edd9e3..a344011 100644 --- a/apps/openssl.c +++ b/apps/openssl.c
@@ -274,7 +274,12 @@ config=NCONF_new(NULL); i=NCONF_load(config,p,&errline); - if (i == 0) ERR_clear_error(); + if (i == 0) + { + NCONF_free(config); + config = NULL; + ERR_clear_error(); + } prog=prog_init();