summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Abromaitis <jonas@nebula44.com>2012-02-16 13:42:07 +0200
committerJonas Abromaitis <jonas@nebula44.com>2012-02-16 13:42:07 +0200
commitf1f9340498a6e8030b0b1feb084a20df98271037 (patch)
tree7aee0a0316168f264548084a6990ac84f4ac35d3
parenta3ac2399816fd1909f15a77ad853908c48ad99a9 (diff)
downloadnet-ssh-f1f9340498a6e8030b0b1feb084a20df98271037.tar.gz
Whoops, forgot to remove debug output.
-rw-r--r--lib/net/ssh/authentication/agent/java_pageant.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/net/ssh/authentication/agent/java_pageant.rb b/lib/net/ssh/authentication/agent/java_pageant.rb
index 5c16248..d9adc52 100644
--- a/lib/net/ssh/authentication/agent/java_pageant.rb
+++ b/lib/net/ssh/authentication/agent/java_pageant.rb
@@ -65,7 +65,7 @@ module Net; module SSH; module Authentication
# to the comment returned by the agent for that key.
def identities
debug { "getting identities from Pageant" }
- identities = @agent_proxy.get_identities.map do |identity|
+ @agent_proxy.get_identities.map do |identity|
blob = identity.get_blob
key = Buffer.new(String.from_java_bytes(blob)).read_key
key.extend(Key)
@@ -73,8 +73,6 @@ module Net; module SSH; module Authentication
key.comment = String.from_java_bytes(identity.get_comment)
key
end
- puts identities.inspect
- identities
rescue AgentProxyException => e
raise AgentError, "Cannot get identities: #{e.message}", e.backtrace
end