aboutsummaryrefslogtreecommitdiff
path: root/src/lib/crypt_ops
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-10-19 08:41:25 -0400
committerNick Mathewson <nickm@torproject.org>2018-10-19 08:41:25 -0400
commitf8a1dc64f975bcaa74634f4666e448ca3fe88d3b (patch)
treee17e3468ce6d4ee3b1fb76cfefe6abe22fb94b14 /src/lib/crypt_ops
parenta5599fb71c51ddec47282164f71cfb06933096cc (diff)
downloadtor-f8a1dc64f975bcaa74634f4666e448ca3fe88d3b.tar.gz
tor-f8a1dc64f975bcaa74634f4666e448ca3fe88d3b.zip
Fix a misspelled macro test that was breaking big-endian OPE
Fixes bug 28115; bugfix on 0.3.5.1-alpha.
Diffstat (limited to 'src/lib/crypt_ops')
-rw-r--r--src/lib/crypt_ops/crypto_ope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/crypt_ops/crypto_ope.c b/src/lib/crypt_ops/crypto_ope.c
index fd5d5f3770..47e2461274 100644
--- a/src/lib/crypt_ops/crypto_ope.c
+++ b/src/lib/crypt_ops/crypto_ope.c
@@ -48,7 +48,7 @@ struct crypto_ope_t {
/** The type to add up in order to produce our OPE ciphertexts */
typedef uint16_t ope_val_t;
-#ifdef WORDS_BIG_ENDIAN
+#ifdef WORDS_BIGENDIAN
/** Convert an OPE value to little-endian */
static inline ope_val_t
ope_val_to_le(ope_val_t x)