"Downgrade" provider-native keys to legacy where needed
authorRichard Levitte <levitte@openssl.org>
Wed, 5 Aug 2020 08:28:51 +0000 (10:28 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 3 Sep 2020 15:48:32 +0000 (17:48 +0200)
commita10847c427744fb7e7d29953dee130a52251c027
treea009c19372810a87154460cbbebe6e106dcf88c4
parentb5275648843ace1a441521823913ccbbebb8769c
"Downgrade" provider-native keys to legacy where needed

Some sub-systems and openssl sub-commands do not yet deal cleanly with
purely provider-native EVP_PKEYs.  We compensate that by "downgrading"
keys in select places, or ensure that the 'file:' scheme ENGINE loader
is activated.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12587)
apps/cms.c
apps/smime.c
crypto/pkcs7/pk7_lib.c
test/evp_extra_test.c
test/recipes/20-test_pkeyutl.t
test/recipes/25-test_req.t