From d86a45f991693cf2367a6ccb94fc29c22f5f7b45 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sat, 9 Feb 2013 00:14:45 -0500 Subject: Wrap more macro definitions in (parentheses) To avoid surprises, good coding practice suggests parenthesizing every macro definition -- or at the very least, all those involving an expression. --- src/or/onion_fast.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/onion_fast.h') diff --git a/src/or/onion_fast.h b/src/or/onion_fast.h index 0c2a47537..8c078378d 100644 --- a/src/or/onion_fast.h +++ b/src/or/onion_fast.h @@ -13,7 +13,7 @@ #define TOR_ONION_FAST_H #define CREATE_FAST_LEN DIGEST_LEN -#define CREATED_FAST_LEN DIGEST_LEN*2 +#define CREATED_FAST_LEN (DIGEST_LEN*2) typedef struct fast_handshake_state_t { uint8_t state[DIGEST_LEN]; -- cgit v1.2.3