Add loaded dynamic ENGINEs to list.
[openssl.git] / apps / asn1pars.c
index b5d65e725b8e505e49ff318b95ef155cadeadfc0..0d6607071fe69b0bc62ffb66a60215344b3a6093 100644 (file)
@@ -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;