From: Pauli Date: Wed, 30 Jul 2025 06:50:03 +0000 (+1000) Subject: dh: add extra argument to ossl_dh_check_pairwise X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1afc4e8baa3226ea6edb643180246201968d8958;p=thirdparty%2Fopenssl.git dh: add extra argument to ossl_dh_check_pairwise Reviewed-by: Neil Horman Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/28122) --- diff --git a/crypto/dh/dh_backend.c b/crypto/dh/dh_backend.c index 7cffc60a059..d4f907723ae 100644 --- a/crypto/dh/dh_backend.c +++ b/crypto/dh/dh_backend.c @@ -82,7 +82,7 @@ int ossl_dh_key_fromdata(DH *dh, const OSSL_PARAM params[], int include_private) #ifdef FIPS_MODULE if (pub_key != NULL && priv_key != NULL) - if (ossl_dh_check_pairwise(dh) == 0) + if (ossl_dh_check_pairwise(dh, 0) == 0) return 0; #endif