summaryrefslogtreecommitdiffhomepage
path: root/send.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-13 19:50:58 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-13 19:52:13 +0200
commit729773fdf3cbec5f75d5981fc1fe6f7f21b0e00c (patch)
tree81d86b767cce3b641884bc143c03712df0716bc4 /send.go
parent680a57faaefbb7ca4be10ef7beefdc70b74f59c2 (diff)
More odds and ends
Diffstat (limited to 'send.go')
-rw-r--r--send.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/send.go b/send.go
index 35e0d00..a8ec28c 100644
--- a/send.go
+++ b/send.go
@@ -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 {