]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
dh: add extra argument to ossl_dh_check_pairwise
authorPauli <ppzgs1@gmail.com>
Wed, 30 Jul 2025 06:50:03 +0000 (16:50 +1000)
committerTomas Mraz <tomas@openssl.org>
Thu, 31 Jul 2025 18:42:05 +0000 (20:42 +0200)
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28122)

(cherry picked from commit 1afc4e8baa3226ea6edb643180246201968d8958)

crypto/dh/dh_backend.c

index 7cffc60a05946e5d57ee35e09b4a18b685aa88c8..d4f907723ae62eec640ef78d28e9a47c291667db 100644 (file)
@@ -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