summaryrefslogtreecommitdiffstats
path: root/apps/apps.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2002-03-06 14:15:13 +0000
committerDr. Stephen Henson <steve@openssl.org>2002-03-06 14:15:13 +0000
commit0dc092334bc785b6fb0c8b568acba3db665b7e22 (patch)
tree840b102627a53bead4f8e80f34a81f6c1610d05e /apps/apps.h
parent36c194638e86cd46d5da2b3efbe9ae5354e19096 (diff)
ENGINE module additions.
Add "init" command to control ENGINE initialization. Call ENGINE_finish on initialized ENGINEs on exit. Reorder shutdown in apps.c: modules should be shut down first. Add test private key loader to openssl ENGINE: this just loads a private key in PEM format. Fix print format for dh length parameter.
Diffstat (limited to 'apps/apps.h')
-rw-r--r--apps/apps.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/apps.h b/apps/apps.h
index 24aa447117..a05ba712be 100644
--- a/apps/apps.h
+++ b/apps/apps.h
@@ -195,10 +195,10 @@ extern BIO *bio_err;
setup_ui_method(); } while(0)
# endif
# define apps_shutdown() \
- do { destroy_ui_method(); EVP_cleanup(); \
- ENGINE_cleanup(); CRYPTO_cleanup_all_ex_data(); \
- ERR_remove_state(0); ERR_free_strings(); \
- CONF_modules_unload(1); } while(0)
+ do { CONF_modules_unload(1); destroy_ui_method(); \
+ EVP_cleanup(); ENGINE_cleanup(); \
+ CRYPTO_cleanup_all_ex_data(); ERR_remove_state(0); \
+ ERR_free_strings(); } while(0)
#endif
typedef struct args_st