Make EVP_PKEY_get1_$TYPE a wrapper of EVP_PKEY_get0_$TYPE
authortb <tb@openbsd.org>
Sun, 10 Sep 2023 17:32:17 +0000 (17:32 +0000)
committertb <tb@openbsd.org>
Sun, 10 Sep 2023 17:32:17 +0000 (17:32 +0000)
commit3c9861454876f2f640bbab5f5fafaa861c9baae9
tree462c528003a86c12e75ed6807e4a619201c0e4d4
parente30cae19668b74eda9fa733df75ea51f637618a5
Make EVP_PKEY_get1_$TYPE a wrapper of EVP_PKEY_get0_$TYPE

Avoids a bit of code duplication and reduces the probability of a fix being
applied to only one of get0 and get1 (which happend in p_lib.c r1.35).

ok jsing
lib/libcrypto/evp/p_lib.c