Reinitialize conf to NULL whenver ca application is started.

Submitted by: Lennart Bang
This commit is contained in:
Bodo Möller 1999-09-05 20:53:08 +00:00
parent 69fb1c3f9d
commit a32640b0f4

View File

@ -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); X509_REQ *req, char *ext_sect, LHASH *conf);
static int do_revoke(X509 *x509, TXT_DB *db); static int do_revoke(X509 *x509, TXT_DB *db);
static int check_time_format(char *str); static int check_time_format(char *str);
static LHASH *conf; static LHASH *conf=NULL;
static char *key=NULL; static char *key=NULL;
static char *section=NULL; static char *section=NULL;
@ -273,6 +273,7 @@ EF_ALIGNMENT=0;
apps_startup(); apps_startup();
conf = NULL;
key = NULL; key = NULL;
section = NULL; section = NULL;