summaryrefslogtreecommitdiff
path: root/lib/auth/dh_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/auth/dh_common.c')
-rw-r--r--lib/auth/dh_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/auth/dh_common.c b/lib/auth/dh_common.c
index 252eea0cb4..fcd696d4d6 100644
--- a/lib/auth/dh_common.c
+++ b/lib/auth/dh_common.c
@@ -259,7 +259,7 @@ _gnutls_proc_dh_common_server_kx(gnutls_session_t session,
#ifdef ENABLE_FIPS140
if (gnutls_fips140_mode_enabled() &&
- !_gnutls_dh_prime_is_fips_approved(data_p, n_p, data_g, n_g)) {
+ !_gnutls_dh_prime_match_fips_approved(data_p, n_p, data_g, n_g, NULL, NULL)) {
gnutls_assert();
return GNUTLS_E_RECEIVED_ILLEGAL_PARAMETER;
}