diff options
author | Pauli <paul.dale@oracle.com> | 2020-06-11 01:08:01 +0200 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-07-30 12:15:22 +0200 |
commit | dfc0857d8191d43be320f4ba472b7c782248a35d (patch) | |
tree | 1fc044e3ce75b9f8518461c157f7430725a6ad85 /crypto/provider_predefined.c | |
parent | unify spelling of serialize (diff) | |
download | openssl-dfc0857d8191d43be320f4ba472b7c782248a35d.tar.xz openssl-dfc0857d8191d43be320f4ba472b7c782248a35d.zip |
serialisation: Add a built-in base provider.
Move the libcrypto serialisation functionality into a place where it can
be provided at some point. The serialisation still remains native in the
default provider.
Add additional code to the list command to display what kind of serialisation
each entry is capable of.
Having the FIPS provider auto load the base provider is a future
(but necessary) enhancement.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12104)
Diffstat (limited to 'crypto/provider_predefined.c')
-rw-r--r-- | crypto/provider_predefined.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/provider_predefined.c b/crypto/provider_predefined.c index d1c3a6e024..6acf2ea1af 100644 --- a/crypto/provider_predefined.c +++ b/crypto/provider_predefined.c @@ -11,6 +11,7 @@ #include "provider_local.h" OSSL_provider_init_fn ossl_default_provider_init; +OSSL_provider_init_fn ossl_base_provider_init; OSSL_provider_init_fn ossl_null_provider_init; OSSL_provider_init_fn fips_intern_provider_init; #ifdef STATIC_LEGACY @@ -24,6 +25,7 @@ const struct predefined_providers_st predefined_providers[] = { # ifdef STATIC_LEGACY { "legacy", ossl_legacy_provider_init, 0 }, # endif + { "base", ossl_base_provider_init, 0 }, { "null", ossl_null_provider_init, 0 }, #endif { NULL, NULL, 0 } |