diff options
author | Jakub Jelen <jjelen@redhat.com> | 2022-10-19 10:25:13 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2023-03-14 13:50:39 +0900 |
commit | 6805d76b7ed4886f00bf704c77b0549408097219 (patch) | |
tree | 2107721065d6c59c979e34bd04d7f916dbbbab4f | |
parent | 0b2b30c0c42fa2fea646a83a1f21a99f7a902853 (diff) | |
download | libgcrypt-6805d76b7ed4886f00bf704c77b0549408097219.tar.gz |
fips: Fix fips indicator function.
* src/fips.c (_gcry_fips_indicator_function): Fix typo in sign/verify
function names.
--
Cherry-pick master commit of:
c5de9e77fb332939695918710b0842030515cce0
Fixes-commit: 05a9c9d1ba1db6c1cd160fba979e9ddf4700a0c0
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
-rw-r--r-- | src/fips.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -446,8 +446,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; |