ossl_dh_get_method
if (dh->engine != NULL || ossl_dh_get_method(dh) != DH_OpenSSL())
const DH_METHOD *ossl_dh_get_method(const DH *dh);