aboutsummaryrefslogtreecommitdiff
path: root/openssl/apps/asn1pars.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/apps/asn1pars.c')
-rw-r--r--openssl/apps/asn1pars.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openssl/apps/asn1pars.c b/openssl/apps/asn1pars.c
index b5d65e725..0d6607071 100644
--- a/openssl/apps/asn1pars.c
+++ b/openssl/apps/asn1pars.c
@@ -408,6 +408,7 @@ static int do_generate(BIO *bio, char *genstr, char *genconf, BUF_MEM *buf)
atyp = ASN1_generate_nconf(genstr, cnf);
NCONF_free(cnf);
+ cnf = NULL;
if (!atyp)
return -1;