diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-02-09 00:14:45 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-02-09 00:16:04 -0500 |
commit | d86a45f991693cf2367a6ccb94fc29c22f5f7b45 (patch) | |
tree | b369a86d438d8541cdf5e03c9e6f03b464c20375 /src/or/onion_fast.h | |
parent | 561e9becbd1f896c31112ab2dfd56fe7badc9382 (diff) | |
download | tor-d86a45f991693cf2367a6ccb94fc29c22f5f7b45.tar.gz tor-d86a45f991693cf2367a6ccb94fc29c22f5f7b45.zip |
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.
Diffstat (limited to 'src/or/onion_fast.h')
-rw-r--r-- | src/or/onion_fast.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/onion_fast.h b/src/or/onion_fast.h index 0c2a475376..8c078378d2 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]; |