summaryrefslogtreecommitdiffhomepage
path: root/src/timers.go
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2017-11-29 21:12:09 +0100
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2017-11-29 21:12:09 +0100
commit479a6f240e37aacc449e3718d3853fa04c598ef4 (patch)
treec2400b291d078d9d55c1c1998faa4ae8d061bab4 /src/timers.go
parent471f7ff08e897a6b4f2779e10d28aeb0a5b9e0e4 (diff)
Fixed typos
Diffstat (limited to 'src/timers.go')
-rw-r--r--src/timers.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/timers.go b/src/timers.go
index d372b0d..5848b2a 100644
--- a/src/timers.go
+++ b/src/timers.go
@@ -25,7 +25,7 @@ func (peer *Peer) KeepKeyFreshSending() {
}
}
-/* Called when a new authenticated message has been recevied
+/* Called when a new authenticated message has been received
*
* NOTE: Not thread safe (called by sequential receiver)
*/
@@ -106,7 +106,7 @@ func (peer *Peer) TimerAnyAuthenticatedPacketTraversal() {
}
}
-/* Called after succesfully completing a handshake.
+/* Called after successfully completing a handshake.
* i.e. after:
*
* - Valid handshake response
@@ -124,7 +124,7 @@ func (peer *Peer) TimerHandshakeComplete() {
/* Event:
* An ephemeral key is generated
*
- * i.e after:
+ * i.e. after:
*
* CreateMessageInitiation
* CreateMessageResponse
@@ -231,7 +231,7 @@ func (peer *Peer) RoutineHandshakeInitiator() {
logInfo := device.log.Info
logError := device.log.Error
logDebug := device.log.Debug
- logDebug.Println("Routine, handshake initator, started for", peer.String())
+ logDebug.Println("Routine, handshake initiator, started for", peer.String())
var temp [256]byte