diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-04-20 11:14:32 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-04-20 11:16:27 -0600 |
commit | e9fd156c23c276176085528af9ff4181da329b6a (patch) | |
tree | fa3e85cd085c80514eb3e6ddae8d83a66342865b /src/wg_cookie.h | |
parent | wg_noise: ensure we check peer count on hashtable insert (diff) | |
download | wireguard-freebsd-e9fd156c23c276176085528af9ff4181da329b6a.tar.xz wireguard-freebsd-e9fd156c23c276176085528af9ff4181da329b6a.zip |
global: use proper boolean types
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/wg_cookie.h')
-rw-r--r-- | src/wg_cookie.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wg_cookie.h b/src/wg_cookie.h index c7338d8..d24223f 100644 --- a/src/wg_cookie.h +++ b/src/wg_cookie.h @@ -77,7 +77,7 @@ struct cookie_maker { struct rwlock cp_lock; uint8_t cp_cookie[COOKIE_COOKIE_SIZE]; struct timespec cp_birthdate; /* nanouptime */ - int cp_mac1_valid; + bool cp_mac1_valid; uint8_t cp_mac1_last[COOKIE_MAC_SIZE]; }; |