aboutsummaryrefslogtreecommitdiff
path: root/ssh/agent/keyring.go
diff options
context:
space:
mode:
Diffstat (limited to 'ssh/agent/keyring.go')
-rw-r--r--ssh/agent/keyring.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh/agent/keyring.go b/ssh/agent/keyring.go
index c1b4361..d129875 100644
--- a/ssh/agent/keyring.go
+++ b/ssh/agent/keyring.go
@@ -112,7 +112,7 @@ func (r *keyring) Unlock(passphrase []byte) error {
}
// expireKeysLocked removes expired keys from the keyring. If a key was added
-// with a lifetimesecs contraint and seconds >= lifetimesecs seconds have
+// with a lifetimesecs constraint and seconds >= lifetimesecs seconds have
// elapsed, it is removed. The caller *must* be holding the keyring mutex.
func (r *keyring) expireKeysLocked() {
for _, k := range r.keys {