If an engine comes up explicitely, it must also come down explicitely
[openssl.git] / apps / pkcs12.c
index 24150089fa4b328cd1e8355fb9d7182f56f693c3..d8e56fbf903acfcb27dfe45afee69f70c7d06df8 100644 (file)
@@ -574,6 +574,7 @@ int pkcs12_main(int argc, char **argv)
     PKCS12_free(p12);
     if (export_cert || inrand)
         app_RAND_write_file(NULL);
+    release_engine(e);
     BIO_free(in);
     BIO_free_all(out);
     sk_OPENSSL_STRING_free(canames);