summaryrefslogtreecommitdiffstats
path: root/crypto/store/store_init.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-11-28 17:30:21 +0100
committerRichard Levitte <levitte@openssl.org>2017-06-29 11:55:31 +0200
commit9c6da42d0c61fafcf860c8a6c03efd3c33826f99 (patch)
tree1ca8bb803c62ec502ffbf0312f76ca2c5997b610 /crypto/store/store_init.c
parentdc10560eba147b1b6484153b424d8f715c055e2f (diff)
Add a STORE loader for the "file" scheme
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3542)
Diffstat (limited to 'crypto/store/store_init.c')
-rw-r--r--crypto/store/store_init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/store/store_init.c b/crypto/store/store_init.c
index 90d5436634..4b53108684 100644
--- a/crypto/store/store_init.c
+++ b/crypto/store/store_init.c
@@ -14,7 +14,8 @@
static CRYPTO_ONCE store_init = CRYPTO_ONCE_STATIC_INIT;
DEFINE_RUN_ONCE_STATIC(do_store_init)
{
- return OPENSSL_init_crypto(0, NULL);
+ return OPENSSL_init_crypto(0, NULL)
+ && ossl_store_file_loader_init();
}
int ossl_store_init_once()