Fix merge problem in d2i_PrivateKey_ex
@@ -44,7 +44,7 @@ EVP_PKEY *d2i_PrivateKey_ex(int keytype, EVP_PKEY **a, const unsigned char **pp,
ppkey = a;
for (i = 0; i < (int)OSSL_NELEM(input_structures); ++i) {
- dctx = OSSL_DECODER_CTX_new_by_EVP_PKEY(ppkey, "DER",
+ dctx = OSSL_DECODER_CTX_new_for_pkey(ppkey, "DER",
input_structures[i], key_name,
EVP_PKEY_KEYPAIR, libctx, propq);
if (dctx == NULL)
