openssl/crypto/conf
Richard Levitte abbc2c4083 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 <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8549)
2019-04-03 11:42:48 +02:00
..
build.info
conf_api.c
conf_def.c It isn't necessary to initialise a struct stat before a stat(2) system call. 2019-03-29 20:52:00 +10:00
conf_def.h make update 2019-01-03 09:21:39 +00:00
conf_err.c
conf_lcl.h
conf_lib.c More configurable crypto and ssl library initialization 2019-01-07 14:02:28 -05:00
conf_mall.c Replumbing: add a configuration module for providers 2019-04-03 11:42:48 +02:00
conf_mod.c More configurable crypto and ssl library initialization 2019-01-07 14:02:28 -05:00
conf_sap.c OPENSSL_config(): restore error agnosticism 2019-03-20 14:24:46 +01:00
conf_ssl.c Fix null pointer dereference in ssl_module_init 2019-02-11 08:30:46 +10:00
keysets.pl Update generator copyright year. 2019-01-07 14:01:58 -05:00