summaryrefslogtreecommitdiff
path: root/rijndael.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-10-28 04:24:22 -0400
committerJeffrey Walton <noloader@gmail.com>2018-10-28 04:24:22 -0400
commitc601213ce13f8413cf3af686c18232ee6d42a50f (patch)
tree78954647ca90e60da1c52785e7d6dafbfc7154c7 /rijndael.cpp
parente185cbd80335a7f1f9e69bb4c078f3369c047b9c (diff)
downloadcryptopp-git-c601213ce13f8413cf3af686c18232ee6d42a50f.tar.gz
Sync CRYPTOPP_{BIG|LITTLE}_ENDIAN with Autotools
Autotools sets up its config.h file with the '#define XXX 0' or '#define XXX 1' pattern. This check-in makes the sources Autotools aware. We need to verify CMake does the same
Diffstat (limited to 'rijndael.cpp')
-rw-r--r--rijndael.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rijndael.cpp b/rijndael.cpp
index f0e200fb..76d91e63 100644
--- a/rijndael.cpp
+++ b/rijndael.cpp
@@ -203,7 +203,7 @@ ANONYMOUS_NAMESPACE_END
#define QUARTER_ROUND_E(t, a, b, c, d) QUARTER_ROUND(TL_M, Te, t, a, b, c, d)
#define QUARTER_ROUND_D(t, a, b, c, d) QUARTER_ROUND(TL_M, Td, t, a, b, c, d)
-#ifdef CRYPTOPP_LITTLE_ENDIAN
+#if (CRYPTOPP_LITTLE_ENDIAN)
#define QUARTER_ROUND_FE(t, a, b, c, d) QUARTER_ROUND(TL_F, Te, t, d, c, b, a)
#define QUARTER_ROUND_FD(t, a, b, c, d) QUARTER_ROUND(TL_F, Td, t, d, c, b, a)
#if defined(CRYPTOPP_ALLOW_RIJNDAEL_UNALIGNED_DATA_ACCESS)