diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2017-07-23 15:48:23 +0200 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2017-07-23 15:48:23 +0200 |
commit | 2ed9dac3a51b296819380758f4390b0032243c61 (patch) | |
tree | 07e354051922a04e9037cb3c714af6fe3138130e /src/noise_protocol.go | |
parent | 47f8a3d89ad0d1478246bf62140eb4fbfe83ac72 (diff) | |
parent | 2a6dd2ed926ddc44cd98d8c940aa01f830213ea0 (diff) | |
download | wireguard-go-2ed9dac3a51b296819380758f4390b0032243c61.tar.gz wireguard-go-2ed9dac3a51b296819380758f4390b0032243c61.zip |
Merge branch 'darwin'
Diffstat (limited to 'src/noise_protocol.go')
-rw-r--r-- | src/noise_protocol.go | 2 |
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) |