Replumbing: New public API to load or add providers
authorRichard Levitte <levitte@openssl.org>
Tue, 19 Feb 2019 22:07:57 +0000 (23:07 +0100)
committerRichard Levitte <levitte@openssl.org>
Mon, 11 Mar 2019 19:40:13 +0000 (20:40 +0100)
commit3374dc03edda56cbfd2a558fc62b7970eb0b9ad1
tree927a72965bf7ac7c9a1ef12c8400578ef7b493a9
parent4c2883a9bf59c5ee31e8e2e101b3894a16c06950
Replumbing: New public API to load or add providers

Adding a provider means creating an internal provier object and adding
it to the store.  This allows the addition of built in providers, be it
in the OpenSSL libraries or in any application.

"Loading" a provider is defined broadly.  A built in provider is already
"loaded" in essence and only needs activating, while a provider in a
dynamically loadable module requires actually loading the module itself.
In this API, "loading" a provider does both.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8287)
crypto/build.info
crypto/cpt_err.c
crypto/err/openssl.txt
crypto/provider.c [new file with mode: 0644]
include/openssl/cryptoerr.h
include/openssl/provider.h [new file with mode: 0644]
util/libcrypto.num