summaryrefslogtreecommitdiffstats
path: root/src/handshake/noise.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/handshake/noise.rs')
-rw-r--r--src/handshake/noise.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handshake/noise.rs b/src/handshake/noise.rs
index 6532f4d..4eea627 100644
--- a/src/handshake/noise.rs
+++ b/src/handshake/noise.rs
@@ -306,7 +306,7 @@ pub fn consume_initiation<'a, T: Copy>(
// check and update timestamp
- peer.check_timestamp(device, &ts)?;
+ peer.check_replay_flood(device, &ts)?;
// H := Hash(H || msg.timestamp)