From c5de9e77fb332939695918710b0842030515cce0 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Wed, 19 Oct 2022 10:25:13 +0900 Subject: fips: Fix fips indicator function. * src/fips.c (_gcry_fips_indicator_function): Fix typo in sign/verify function names. -- Fixes-commit: 05a9c9d1ba1db6c1cd160fba979e9ddf4700a0c0 Signed-off-by: Jakub Jelen --- src/fips.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/fips.c b/src/fips.c index 9a524ea4..0f92380f 100644 --- a/src/fips.c +++ b/src/fips.c @@ -395,8 +395,8 @@ _gcry_fips_indicator_function (va_list arg_ptr) { const char *function = va_arg (arg_ptr, const char *); - if (strcmp (function, "gcry_sign") == 0 || - strcmp (function, "gcry_verify") == 0) + if (strcmp (function, "gcry_pk_sign") == 0 || + strcmp (function, "gcry_pk_verify") == 0) return GPG_ERR_NOT_SUPPORTED; return GPG_ERR_NO_ERROR; -- cgit v1.2.1