aboutsummaryrefslogtreecommitdiffstats
path: root/noise_test.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-07 22:27:03 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-10 16:08:03 +0200
commit233f079a9479279d2aab68f4accb139ee87ad664 (patch)
tree338dfb681ffafbb53b81d353aa5612866ff935f5 /noise_test.go
parentMerge branch 'master' of ssh://git.zx2c4.com/wireguard-go (diff)
downloadwireguard-go-233f079a9479279d2aab68f4accb139ee87ad664.tar.xz
wireguard-go-233f079a9479279d2aab68f4accb139ee87ad664.zip
Rewrite timers and related state machines
Diffstat (limited to 'noise_test.go')
-rw-r--r--noise_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/noise_test.go b/noise_test.go
index 958a4ef..37bfb94 100644
--- a/noise_test.go
+++ b/noise_test.go
@@ -102,8 +102,8 @@ func TestNoiseHandshake(t *testing.T) {
t.Log("deriving keys")
- key1 := peer1.NewKeyPair()
- key2 := peer2.NewKeyPair()
+ key1 := peer1.NewKeypair()
+ key2 := peer2.NewKeypair()
if key1 == nil {
t.Fatal("failed to dervice key-pair for peer 1")