ossl_dh_check_key
int ossl_dh_check_key(const DH *dh);
int key_approved = ossl_dh_check_key(ctx->dh);