Add a test for fetching EVP_PKEY style algs without a provider
authorMatt Caswell <matt@openssl.org>
Thu, 14 May 2020 10:33:01 +0000 (11:33 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 28 May 2020 16:01:47 +0000 (17:01 +0100)
commit5ddec6a7d3206c61209a016db4227b847dcaad27
tree151e433683d55945cf9813034d4618a819a00d08
parentb533510f3bc70957dbf447f7ea8ec20765c5b314
Add a test for fetching EVP_PKEY style algs without a provider

Following on from the previous commit, add a test to check that we fail
to create an EVP_PKEY_CTX if an algorithm is not available in any provider,
*unless* it is an algorithm that has no provider support.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11826)
test/evp_extra_test.c