EVP_PKEY_meth_get_copy
OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_get_copy(const EVP_PKEY_METHOD *pmeth, int (**pcopy)(EVP_PKEY_CTX *dst, const EVP_PKEY_CTX *src));
EVP_PKEY_meth_get_copy(orig_pmeth, &pcopy);