summaryrefslogtreecommitdiffstats
path: root/apps/openssl.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-10-12 17:02:58 +0200
committerRichard Levitte <levitte@openssl.org>2020-12-02 20:19:31 +0100
commit0b27381fd544beca44df905991923a7fa374d80a (patch)
tree7cf4396c5351ada9c1f023ca2971541edaa3da47 /apps/openssl.c
parent4be35545aea9f76e3704fe88bb8f3fc135ceb4c8 (diff)
APPS: Add OSSL_STORE loader for engine keys
The idea is to be able to have our apps load engine keys using a URI: org.openssl.engine:{engineid}:{keyid} This is legacy, but added for the time being to support keys given to the application like this: -engine {engineid} -key {keyid} -keyform ENGINE This latter form is recognised internally, and rewritten into the URI form. Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com> (Merged from https://github.com/openssl/openssl/pull/13570)
Diffstat (limited to 'apps/openssl.c')
-rw-r--r--apps/openssl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/openssl.c b/apps/openssl.c
index 307303b257..9d697a8836 100644
--- a/apps/openssl.c
+++ b/apps/openssl.c
@@ -68,6 +68,7 @@ static int apps_startup(void)
return 0;
(void)setup_ui_method();
+ (void)setup_engine_loader();
/*
* NOTE: This is an undocumented feature required for testing only.
@@ -89,6 +90,7 @@ static void apps_shutdown(void)
{
app_providers_cleanup();
OSSL_LIB_CTX_free(app_get0_libctx());
+ destroy_engine_loader();
destroy_ui_method();
}