diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-05-31 05:01:07 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-05-31 14:23:13 +0200 |
commit | 9ca9407452e2ab49754228991a34536781d30d96 (patch) | |
tree | 9c3f0c44c62c691a571902e2d69816a935d26220 /src/receive.c | |
parent | timers: rework handshake reply control flow (diff) | |
download | wireguard-monolithic-historical-9ca9407452e2ab49754228991a34536781d30d96.tar.xz wireguard-monolithic-historical-9ca9407452e2ab49754228991a34536781d30d96.zip |
timers: the completion of a handshake also is on key confirmation
Diffstat (limited to '')
-rw-r--r-- | src/receive.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/receive.c b/src/receive.c index fb057aa..6051c2c 100644 --- a/src/receive.c +++ b/src/receive.c @@ -216,6 +216,7 @@ void packet_consume_data_done(struct sk_buff *skb, struct wireguard_peer *peer, if (unlikely(used_new_key)) { peer->sent_lastminute_handshake = false; packet_send_queue(peer); + timers_handshake_complete(peer); } keep_key_fresh(peer); |