From eea841edd6c60ec6b22428192c288cf5e98954ea Mon Sep 17 00:00:00 2001 From: Pauli Date: Wed, 30 Jul 2025 16:50:03 +1000 Subject: [PATCH] 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) (cherry picked from commit 1afc4e8baa3226ea6edb643180246201968d8958) --- crypto/dh/dh_backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2