summaryrefslogtreecommitdiffstats
path: root/src/wireguard.h
diff options
context:
space:
mode:
authorMatt Dunwoodie <ncon@mail.noconroy.net>2019-09-11 19:05:20 +1000
committerMatt Dunwoodie <ncon@mail.noconroy.net>2019-09-11 21:00:37 +1000
commitf6c2fa857d8652ce0c19f918092f40d29f9bc6fc (patch)
tree1eb9429a7f30a5a2a37fcb9421624157f0d8e3d3 /src/wireguard.h
parentCheck handshake state before preparing initiation packet (diff)
downloadwireguard-openbsd-f6c2fa857d8652ce0c19f918092f40d29f9bc6fc.tar.xz
wireguard-openbsd-f6c2fa857d8652ce0c19f918092f40d29f9bc6fc.zip
Fix lock bug in wg_handshake_merge, cleanup
Diffstat (limited to 'src/wireguard.h')
-rw-r--r--src/wireguard.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wireguard.h b/src/wireguard.h
index 0ae1186712f..b2fc206853c 100644
--- a/src/wireguard.h
+++ b/src/wireguard.h
@@ -133,8 +133,8 @@ struct wg_session {
uint8_t ss_rxkey[WG_KEY_SIZE];
struct wg_antireplay {
- uint64_t ar_head;
- uint64_t ar_bitmap[WG_ARB_BITS / WG_ARI_BITS];
+ uint64_t ar_head;
+ uint64_t ar_bitmap[WG_ARB_BITS / WG_ARI_BITS];
} ss_ar;
} s_ss;
};