diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2017-07-06 16:24:24 +0200 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2017-07-06 16:24:24 +0200 |
commit | 70179f8c8c2eeb39c9a3666012481a25ce39b338 (patch) | |
tree | 036dd744f18f62750d431c0dcdb5687e3041451b /src/noise_protocol.go | |
parent | 59f9316f51ce3cb470200b0cfe847116a0583d25 (diff) | |
download | wireguard-go-70179f8c8c2eeb39c9a3666012481a25ce39b338.tar.gz wireguard-go-70179f8c8c2eeb39c9a3666012481a25ce39b338.zip |
Fixed broken test
Diffstat (limited to 'src/noise_protocol.go')
-rw-r--r-- | src/noise_protocol.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/noise_protocol.go b/src/noise_protocol.go index 0258288..9a9d918 100644 --- a/src/noise_protocol.go +++ b/src/noise_protocol.go @@ -57,8 +57,8 @@ type MessageInitiation struct { Ephemeral NoisePublicKey Static [NoisePublicKeySize + poly1305.TagSize]byte Timestamp [TAI64NSize + poly1305.TagSize]byte - Mac1 [blake2s.Size128]byte - Mac2 [blake2s.Size128]byte + MAC1 [blake2s.Size128]byte + MAC2 [blake2s.Size128]byte } type MessageResponse struct { @@ -67,8 +67,8 @@ type MessageResponse struct { Receiver uint32 Ephemeral NoisePublicKey Empty [poly1305.TagSize]byte - Mac1 [blake2s.Size128]byte - Mac2 [blake2s.Size128]byte + MAC1 [blake2s.Size128]byte + MAC2 [blake2s.Size128]byte } type MessageTransport struct { |