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.
This commit is contained in:
Richard Levitte
2001-06-23 16:37:32 +00:00
parent 870d986131
commit c04f8cf44a
26 changed files with 30 additions and 3 deletions

View File

@@ -163,7 +163,8 @@ bad:
BIO_printf(bio_err," -text print full details of certificates\n");
BIO_printf(bio_err," -noout don't output encoded data\n");
BIO_printf(bio_err," -engine e use engine e, possibly a hardware device.\n");
EXIT(1);
ret = 1;
goto end;
}
ERR_load_crypto_strings();
@@ -300,5 +301,6 @@ end:
if (p7 != NULL) PKCS7_free(p7);
if (in != NULL) BIO_free(in);
if (out != NULL) BIO_free_all(out);
apps_shutdown();
EXIT(ret);
}