diff options
author | Richard Levitte <levitte@openssl.org> | 2020-05-23 16:34:07 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-06-04 16:42:45 +0200 |
commit | f995e5bdcd5d4c2143323ff78e4dcc0b95c5e024 (patch) | |
tree | a72a180f3d079f4f10c7a33707aa700c33dd2b7c /crypto/provider_core.c | |
parent | 4cbb196b1b33d6ff2089537df0fdb76ac4741e2a (diff) |
TEST: Add provider_fallback_test, to test aspects of fallback providers
There are cases where the fallback providers aren't treated right.
For example, the following calls, in that order, will end up with
a failed EVP_KEYMGMT_fetch(), even thought the default provider
does supply an implementation of the "RSA" keytype.
EVP_KEYMGMT *rsameth = NULL;
OSSL_PROVIDER_available(NULL, "default");
rsameth = EVP_KEYMGMT_fetch(NULL, "RSA", NULL);
For good measure, this also tests that explicit loading of the default
provider won't fail.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11926)
Diffstat (limited to 'crypto/provider_core.c')
0 files changed, 0 insertions, 0 deletions