summaryrefslogtreecommitdiff
path: root/src/fips.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2021-10-14 16:44:12 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2021-10-14 16:44:12 +0900
commitb496868dc37d1e9a899e127f54f5c3d5ee2e91cc (patch)
tree94b873cf290d9348a3ce420e34a7f181ebe13907 /src/fips.c
parentd2c68849d19bd0ed4c8c3c040c5939737aa15981 (diff)
downloadlibgcrypt-b496868dc37d1e9a899e127f54f5c3d5ee2e91cc.tar.gz
fips: Fix the previous commit.
-- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'src/fips.c')
-rw-r--r--src/fips.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fips.c b/src/fips.c
index 0ab9d810..29cb8445 100644
--- a/src/fips.c
+++ b/src/fips.c
@@ -635,11 +635,11 @@ check_binary_integrity (void)
/* Run self-tests for HMAC-SHA256 algorithm before verifying library integrity.
* Return 0 on success. */
static int
-run_hmac_sha256_selftests (void)
+run_hmac_sha256_selftests (int extended)
{
gpg_error_t err;
- err = _gcry_mac_selftest (GCRY_MAC_HMAC_SHA256, 0, reporter);
+ err = _gcry_mac_selftest (GCRY_MAC_HMAC_SHA256, extended, reporter);
reporter ("mac", GCRY_MAC_HMAC_SHA256, NULL,
err? gpg_strerror (err):NULL);
return err ? 1 : 0;