summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Stein <apps@istik.de>2019-11-17 16:58:20 +0100
committerKlaus Stein <apps@istik.de>2019-11-17 16:58:20 +0100
commitbff0dcf66dd2e3e888fac00c9bb2f166af341346 (patch)
treec55e3b155d23a8fb3fa69bd527b6a17fcdf3a944
parent2938f3883f294334915e196ca635b223c8f964a7 (diff)
downloadnet-ssh-bff0dcf66dd2e3e888fac00c9bb2f166af341346.tar.gz
Correct typo in comment
-rw-r--r--lib/net/ssh/authentication/agent.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/net/ssh/authentication/agent.rb b/lib/net/ssh/authentication/agent.rb
index 6bf306d..5d51fe1 100644
--- a/lib/net/ssh/authentication/agent.rb
+++ b/lib/net/ssh/authentication/agent.rb
@@ -197,7 +197,7 @@ module Net
raise AgentError, "could not lock agent" if type != SSH_AGENT_SUCCESS
end
- # lock the ssh agend with password
+ # unlock the ssh agend with password
def unlock(password)
type, = send_and_wait(SSH2_AGENT_UNLOCK, :string, password)
raise AgentError, "could not unlock agent" if type != SSH_AGENT_SUCCESS
@@ -280,3 +280,4 @@ module Net
end
end
end
+