diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2017-08-14 17:09:25 +0200 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2017-08-14 17:09:25 +0200 |
commit | 12e8db20662191baa8c7253804f1340d7e4d8a87 (patch) | |
tree | 700891f3e26e1eed8f2fd087151d79090b2848c7 /src/peer.go | |
parent | a4eff12d7f749c992247579161c4ce9e60e2df47 (diff) |
Improved cookie/mac computation code
Diffstat (limited to 'src/peer.go')
-rw-r--r-- | src/peer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peer.go b/src/peer.go index 02aac3b..a4feb2f 100644 --- a/src/peer.go +++ b/src/peer.go @@ -56,7 +56,7 @@ type Peer struct { outbound chan *QueueOutboundElement // sequential ordering of work inbound chan *QueueInboundElement // sequential ordering of work } - mac MACStatePeer + mac CookieGenerator } func (device *Device) NewPeer(pk NoisePublicKey) (*Peer, error) { |