summaryrefslogtreecommitdiffstats
path: root/crypto/cpt_err.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-03-14 10:53:27 +0100
committerRichard Levitte <levitte@openssl.org>2019-03-19 14:06:58 +0100
commite55008a9f2ae299374dcf868b660389e84dd2e0b (patch)
tree972ecb9fbe04f18923a4885947c27c907c824e41 /crypto/cpt_err.c
parentUpdate pkeyutl documentation about the digest option (diff)
downloadopenssl-e55008a9f2ae299374dcf868b660389e84dd2e0b.tar.xz
openssl-e55008a9f2ae299374dcf868b660389e84dd2e0b.zip
Replumbing: add fallback provider capability
To ensure that old applications aren't left without any provider, and at the same time not forcing any default provider on applications that know how to deal with them, we device the concept of fallback providers, which are automatically activated if no other provider is already activated. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8480)
Diffstat (limited to 'crypto/cpt_err.c')
-rw-r--r--crypto/cpt_err.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/cpt_err.c b/crypto/cpt_err.c
index bf7985cee9..88bee489f2 100644
--- a/crypto/cpt_err.c
+++ b/crypto/cpt_err.c
@@ -57,6 +57,8 @@ static const ERR_STRING_DATA CRYPTO_str_functs[] = {
"pkey_poly1305_init"},
{ERR_PACK(ERR_LIB_CRYPTO, CRYPTO_F_PKEY_SIPHASH_INIT, 0),
"pkey_siphash_init"},
+ {ERR_PACK(ERR_LIB_CRYPTO, CRYPTO_F_PROVIDER_ACTIVATE, 0),
+ "provider_activate"},
{ERR_PACK(ERR_LIB_CRYPTO, CRYPTO_F_SK_RESERVE, 0), "sk_reserve"},
{0, NULL}
};