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 | 2ae6cad8f509759e6ce8ca4e8a6c18ea5aabc605 (patch) | |
tree | 0c2b5d6796e2593e0fec676089f444707cd66035 /src/cookie.c | |
parent | global: rename struct wireguard_ to struct wg_ (diff) | |
download | wireguard-linux-compat-2ae6cad8f509759e6ce8ca4e8a6c18ea5aabc605.tar.xz wireguard-linux-compat-2ae6cad8f509759e6ce8ca4e8a6c18ea5aabc605.zip |
global: more nits
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/cookie.c')
-rw-r--r-- | src/cookie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cookie.c b/src/cookie.c index 2aa4cae..d4a6cf2 100644 --- a/src/cookie.c +++ b/src/cookie.c @@ -169,7 +169,7 @@ void wg_cookie_add_mac_to_packet(void *message, size_t len, down_read(&peer->latest_cookie.lock); if (peer->latest_cookie.is_valid && !wg_birthdate_has_expired(peer->latest_cookie.birthdate, - COOKIE_SECRET_MAX_AGE - COOKIE_SECRET_LATENCY)) + COOKIE_SECRET_MAX_AGE - COOKIE_SECRET_LATENCY)) compute_mac2(macs->mac2, message, len, peer->latest_cookie.cookie); else |