From abbc2c408385326d9c9cd60b92a6c92b945c1d96 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 20 Mar 2019 16:53:19 +0100 Subject: Replumbing: add a configuration module for providers This configuration module supports a configuration structure pretty much like the engine configuration module, i.e. something like this: openssl_conf = openssl_init [openssl_init] providers = provider_section [provider_section] # Configure the provider named "foo" foo = foo_section # Configure the provider named "bar" bar = bar_section [foo_section] # Override name given in the provider section identity = myfoo # The exact path of the module. This is platform specific module_path = /opt/openssl/modules/foo.so # Whether it should be automatically activated. Value is unimportant activate = whatever # Anything else goes as well, and becomes parameters that the # provider can get what = 1 # sub-sections will be followed as well ever = ever_section [ever_section] cookie = monster All the configurations in a provider section and its sub-sections become parameters for the provider to get, i.e. the "foo" provider will be able to get values for the following keys (with associated values shown): identity => myfoo module_path => /opt/openssl/modules/foo.so activate => whatever what => 1 ever.cookie => monster Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/8549) --- crypto/build.info | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crypto/build.info') diff --git a/crypto/build.info b/crypto/build.info index 535fa35a10..a6f3524542 100644 --- a/crypto/build.info +++ b/crypto/build.info @@ -9,7 +9,8 @@ SUBDIRS=objects buffer bio stack lhash rand evp asn1 pem x509 x509v3 conf \ LIBS=../libcrypto # The Core -SOURCE[../libcrypto]=provider_core.c provider_predefined.c core_fetch.c +SOURCE[../libcrypto]=provider_core.c provider_predefined.c provider_conf.c \ + core_fetch.c # Central utilities SOURCE[../libcrypto]=\ -- cgit v1.2.1