diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-08 03:54:28 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-08 18:51:34 +0200 |
commit | 780a5974d0256eed1e03a096b43f066043f8eb15 (patch) | |
tree | 3ba7923f145fd27706c11f956b1e485fd7dca5d6 /src/messages.h | |
parent | global: rename struct wireguard_ to struct wg_ (diff) | |
download | wireguard-monolithic-historical-780a5974d0256eed1e03a096b43f066043f8eb15.tar.xz wireguard-monolithic-historical-780a5974d0256eed1e03a096b43f066043f8eb15.zip |
global: more nits
Diffstat (limited to 'src/messages.h')
-rw-r--r-- | src/messages.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages.h b/src/messages.h index 090e6f0..c4061cb 100644 --- a/src/messages.h +++ b/src/messages.h @@ -22,7 +22,7 @@ enum noise_lengths { NOISE_HASH_LEN = BLAKE2S_HASH_SIZE }; -#define noise_encrypted_len(plain_len) (plain_len + NOISE_AUTHTAG_LEN) +#define noise_encrypted_len(plain_len) ((plain_len) + NOISE_AUTHTAG_LEN) enum cookie_values { COOKIE_SECRET_MAX_AGE = 2 * 60, |