aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/openssl/apps/asn1pars.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/apps/asn1pars.c')
-rw-r--r--crypto/openssl/apps/asn1pars.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/openssl/apps/asn1pars.c b/crypto/openssl/apps/asn1pars.c
index bde61d02d12c..305cdfc6af30 100644
--- a/crypto/openssl/apps/asn1pars.c
+++ b/crypto/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;