summaryrefslogtreecommitdiff
path: root/handshake_ntor_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'handshake_ntor_test.go')
-rw-r--r--handshake_ntor_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/handshake_ntor_test.go b/handshake_ntor_test.go
index 41780e9..73b43bf 100644
--- a/handshake_ntor_test.go
+++ b/handshake_ntor_test.go
@@ -45,6 +45,7 @@ func TestHandshakeNtor(t *testing.T) {
t.Fatal("newClientHandshake failed:", err)
}
serverHs := newServerHandshake(nodeID, idKeypair)
+ serverFilter, _ := newReplayFilter()
// Generate what the client will send to the server.
cToS, err := clientHs.generateHandshake()
@@ -53,7 +54,7 @@ func TestHandshakeNtor(t *testing.T) {
}
// Parse the client handshake message.
- serverSeed, err := serverHs.parseClientHandshake(cToS)
+ serverSeed, err := serverHs.parseClientHandshake(serverFilter, cToS)
if err != nil {
t.Fatal("serverHandshake.parseClientHandshake() failed", err)
}