summaryrefslogtreecommitdiff
path: root/cipher/mac-cmac.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2021-12-06 09:50:37 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2021-12-06 09:50:37 +0900
commitb14aaf1a2dc71560e1f7c19ac88a7b16cc491f25 (patch)
treed9008c2d2d4186aeeb8208bcc6a78dd5a55ba70f /cipher/mac-cmac.c
parent57b61b0f4f1be7513ed064a90321849bb9f47f29 (diff)
downloadlibgcrypt-b14aaf1a2dc71560e1f7c19ac88a7b16cc491f25.tar.gz
cipher,tests: Consitent use of #if/#endif for algo selection.
* cipher/cipher.c: Use #if instead of #ifdef for algo. * cipher/mac-cmac.c: Likewise. * cipher/mac-hmac.c: Likewise. * cipher/mac-internal.h: Likewise. * cipher/mac.c: Likewise. * tests/basic.c: Likewise. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'cipher/mac-cmac.c')
-rw-r--r--cipher/mac-cmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher/mac-cmac.c b/cipher/mac-cmac.c
index 063d153e..0538de37 100644
--- a/cipher/mac-cmac.c
+++ b/cipher/mac-cmac.c
@@ -504,7 +504,7 @@ gcry_mac_spec_t _gcry_mac_type_spec_cmac_camellia = {
&cmac_ops
};
#endif
-#ifdef USE_IDEA
+#if USE_IDEA
gcry_mac_spec_t _gcry_mac_type_spec_cmac_idea = {
GCRY_MAC_CMAC_IDEA, {0, 0}, "CMAC_IDEA",
&cmac_ops