RSA_meth_dup
OSSL_DEPRECATEDIN_3_0 RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth);
if (!TEST_ptr(rsameth = RSA_meth_dup(RSA_get_default_method())))
if (!TEST_ptr(rsa_meth = RSA_meth_dup(RSA_get_default_method())))