diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2017-06-26 13:14:02 +0200 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2017-06-26 13:14:02 +0200 |
commit | 9d806d3853c926df75e83966d2c4f832708a1b08 (patch) | |
tree | 97dd50a56751d5cb48b60353697aa9ccad9a3e14 /src/noise_test.go | |
parent | cf3a5130d3aa53fc56c7c3194ee326d5a1d21970 (diff) |
Begin work on outbound packet flow
Diffstat (limited to 'src/noise_test.go')
-rw-r--r-- | src/noise_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/noise_test.go b/src/noise_test.go index ddabf8e..8450c1c 100644 --- a/src/noise_test.go +++ b/src/noise_test.go @@ -67,13 +67,13 @@ func TestNoiseHandshake(t *testing.T) { t.Log("exchange initiation message") - msg1, err := dev1.CreateMessageInitial(peer2) + msg1, err := dev1.CreateMessageInitiation(peer2) assertNil(t, err) packet := make([]byte, 0, 256) writer := bytes.NewBuffer(packet) err = binary.Write(writer, binary.LittleEndian, msg1) - peer := dev2.ConsumeMessageInitial(msg1) + peer := dev2.ConsumeMessageInitiation(msg1) if peer == nil { t.Fatal("handshake failed at initiation message") } |