diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-13 19:50:58 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-13 19:52:13 +0200 |
commit | 729773fdf3cbec5f75d5981fc1fe6f7f21b0e00c (patch) | |
tree | 81d86b767cce3b641884bc143c03712df0716bc4 /noise_test.go | |
parent | 680a57faaefbb7ca4be10ef7beefdc70b74f59c2 (diff) |
More odds and ends
Diffstat (limited to 'noise_test.go')
-rw-r--r-- | noise_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noise_test.go b/noise_test.go index 37bfb94..ce32097 100644 --- a/noise_test.go +++ b/noise_test.go @@ -102,15 +102,15 @@ func TestNoiseHandshake(t *testing.T) { t.Log("deriving keys") - key1 := peer1.NewKeypair() - key2 := peer2.NewKeypair() + key1 := peer1.DeriveNewKeypair() + key2 := peer2.DeriveNewKeypair() if key1 == nil { - t.Fatal("failed to dervice key-pair for peer 1") + t.Fatal("failed to dervice keypair for peer 1") } if key2 == nil { - t.Fatal("failed to dervice key-pair for peer 2") + t.Fatal("failed to dervice keypair for peer 2") } // encrypting / decryption test |