summaryrefslogtreecommitdiffstats
path: root/apps/ca.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-09-05 20:53:08 +0000
committerBodo Möller <bodo@openssl.org>1999-09-05 20:53:08 +0000
commita32640b0f4c681c69c97def95c3e7995c80c77f3 (patch)
tree298c4ffefef057e70af885cb1013d5677e283b80 /apps/ca.c
parent69fb1c3f9db266105a7c1072cdd609b6bcbbd19e (diff)
Reinitialize conf to NULL whenver ca application is started.
Submitted by: Lennart Bang
Diffstat (limited to 'apps/ca.c')
-rw-r--r--apps/ca.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/ca.c b/apps/ca.c
index 1450c0cfd2..63cd7a1965 100644
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -206,7 +206,7 @@ static int do_body(X509 **xret, EVP_PKEY *pkey, X509 *x509, const EVP_MD *dgst,
X509_REQ *req, char *ext_sect, LHASH *conf);
static int do_revoke(X509 *x509, TXT_DB *db);
static int check_time_format(char *str);
-static LHASH *conf;
+static LHASH *conf=NULL;
static char *key=NULL;
static char *section=NULL;
@@ -273,6 +273,7 @@ EF_ALIGNMENT=0;
apps_startup();
+ conf = NULL;
key = NULL;
section = NULL;