From 16e819e1d8916aab302625c065aba567cc403f41 Mon Sep 17 00:00:00 2001 From: Geoff Thorpe Date: Mon, 10 Sep 2001 21:04:14 +0000 Subject: Put all "common" initialisation in the apps_startup() and apps_shutdown() macros in apps.h. --- apps/openssl.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'apps/openssl.c') diff --git a/apps/openssl.c b/apps/openssl.c index d34169d3f3..0e179d9c33 100644 --- a/apps/openssl.c +++ b/apps/openssl.c @@ -255,9 +255,6 @@ int main(int Argc, char *Argv[]) if ((bio_err=BIO_new(BIO_s_file())) != NULL) BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); - ERR_load_crypto_strings(); - ENGINE_load_builtin_engines(); - /* Lets load up our environment a little */ p=getenv("OPENSSL_CONF"); if (p == NULL) @@ -350,12 +347,6 @@ end: } if (prog != NULL) lh_free(prog); if (arg.data != NULL) OPENSSL_free(arg.data); - ERR_remove_state(0); - - EVP_cleanup(); - ERR_free_strings(); - - ENGINE_cleanup(); apps_shutdown(); -- cgit v1.2.3