aboutsummaryrefslogtreecommitdiffstats
path: root/src/noise_protocol.go
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2017-07-21 15:17:43 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2017-07-21 15:17:43 +0200
commit2a6dd2ed926ddc44cd98d8c940aa01f830213ea0 (patch)
tree56b9accd624293c473473fc894d18e54b69f9a2d /src/noise_protocol.go
parentReviewed and added OSX patch (diff)
downloadwireguard-go-2a6dd2ed926ddc44cd98d8c940aa01f830213ea0.tar.xz
wireguard-go-2a6dd2ed926ddc44cd98d8c940aa01f830213ea0.zip
Fixed UAPI deadlock
Diffstat (limited to '')
-rw-r--r--src/noise_protocol.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/noise_protocol.go b/src/noise_protocol.go
index 5fe6fb2..ea0fd52 100644
--- a/src/noise_protocol.go
+++ b/src/noise_protocol.go
@@ -253,8 +253,6 @@ func (device *Device) ConsumeMessageInitiation(msg *MessageInitiation) *Peer {
}
hash = mixHash(hash, msg.Timestamp[:])
- // TODO: check for flood attack
-
// check for replay attack
return timestamp.After(handshake.lastTimestamp)