diff options
author | Richard Levitte <levitte@openssl.org> | 2001-06-23 16:37:32 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2001-06-23 16:37:32 +0000 |
commit | c04f8cf44a3b204b82f5f1f5d1ad9dbc738459f1 (patch) | |
tree | 976a776db3dba0efd3e7c2ffed56bdad6125fb82 /apps/crl2p7.c | |
parent | 870d986131869300c8510fdba2b4937658f3fa34 (diff) | |
download | openssl-new-c04f8cf44a3b204b82f5f1f5d1ad9dbc738459f1.tar.gz |
Use apps_shutdown() in all applications, in case someone decides not
to go the monolith way (does anyone do that these days?).
NOTE: a few applications are missing in this commit. I've a few more
changes in them that I haven't tested yet.
Diffstat (limited to 'apps/crl2p7.c')
-rw-r--r-- | apps/crl2p7.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/crl2p7.c b/apps/crl2p7.c index 36d8afee6f..8729068462 100644 --- a/apps/crl2p7.c +++ b/apps/crl2p7.c @@ -166,7 +166,8 @@ bad: BIO_printf(bio_err," -certfile arg certificates file of chain to a trusted CA\n"); BIO_printf(bio_err," (can be used more than once)\n"); BIO_printf(bio_err," -nocrl no crl to load, just certs from '-certfile'\n"); - EXIT(1); + ret = 1; + goto end; } ERR_load_crypto_strings(); @@ -278,6 +279,7 @@ end: if (p7 != NULL) PKCS7_free(p7); if (crl != NULL) X509_CRL_free(crl); + apps_shutdown(); EXIT(ret); } |