summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2022-10-19 10:25:13 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2022-10-19 10:36:01 +0900
commitc5de9e77fb332939695918710b0842030515cce0 (patch)
treebebf250480812f836c4d476a52fbc9905b19c6e4 /src
parent94dcd2cf5cd17244eaa96920218f32b64c0cec44 (diff)
downloadlibgcrypt-c5de9e77fb332939695918710b0842030515cce0.tar.gz
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 <jjelen@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/fips.c4
1 files changed, 2 insertions, 2 deletions
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;