DH_check_pub_key
if (!DH_check_pub_key(dh, pub_key, &errflags))
OSSL_DEPRECATEDIN_3_0 int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key,