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 /send.go | |
parent | 680a57faaefbb7ca4be10ef7beefdc70b74f59c2 (diff) |
More odds and ends
Diffstat (limited to 'send.go')
-rw-r--r-- | send.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -47,7 +47,7 @@ type QueueOutboundElement struct { buffer *[MaxMessageSize]byte // slice holding the packet data packet []byte // slice of "buffer" (always!) nonce uint64 // nonce for encryption - keypair *Keypair // key-pair for encryption + keypair *Keypair // keypair for encryption peer *Peer // related peer } @@ -306,11 +306,11 @@ func (peer *Peer) RoutineNonce() { peer.SendHandshakeInitiation(false) - logDebug.Println(peer, ": Awaiting key-pair") + logDebug.Println(peer, ": Awaiting keypair") select { case <-peer.signals.newKeypairArrived: - logDebug.Println(peer, ": Obtained awaited key-pair") + logDebug.Println(peer, ": Obtained awaited keypair") case <-peer.signals.flushNonceQueue: for { select { |