EVP: Don't find standard EVP_PKEY_METHODs automatically
authorRichard Levitte <levitte@openssl.org>
Tue, 26 Jan 2021 16:01:15 +0000 (17:01 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 3 Feb 2021 16:20:56 +0000 (17:20 +0100)
commit60488d2434c5be15dc14e1fa2a8733f076d9ccf4
treee06163ad2fcbd0f05e03ca16e085a6f1e843b0dc
parent8ce04db808dd1799a4051d938112b7d591fc5fc2
EVP: Don't find standard EVP_PKEY_METHODs automatically

EVP_PKEY_meth_find() got called automatically any time a new
EVP_PKEY_CTX allocator was called with some sort of key type data.
Since we have now moved all our standard algorithms to our providers,
this is no longer necessary.

We do retain looking up EVP_PKEY_METHODs that are added by the calling
application.

Fixes #11424

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/13973)
crypto/evp/pmeth_lib.c