summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklós Fazekas <mfazekas@szemafor.com>2016-03-12 11:32:47 +0100
committerMiklós Fazekas <mfazekas@szemafor.com>2016-03-12 11:32:47 +0100
commit343f3d41ebf187781b6339b429851ab7becc722f (patch)
tree34cfde3ec54b7446d2103351bcbcd2db0058caa6
parent97a3d4c2ee683848c397a579c3258bf179e77cc1 (diff)
parente30da2428a83abde348a1eb933def5416e951c79 (diff)
downloadnet-ssh-343f3d41ebf187781b6339b429851ab7becc722f.tar.gz
Merge pull request #327 from byroot/fix-hosts-cache
Fix Secure#verify call to process_cache_miss
-rw-r--r--lib/net/ssh/verifiers/secure.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/ssh/verifiers/secure.rb b/lib/net/ssh/verifiers/secure.rb
index 71b7fbb..b5b8823 100644
--- a/lib/net/ssh/verifiers/secure.rb
+++ b/lib/net/ssh/verifiers/secure.rb
@@ -30,7 +30,7 @@ module Net; module SSH; module Verifiers
# If a match was found, return true. Otherwise, raise an exception
# indicating that the key was not recognized.
unless found
- process_cache_miss(host_keys, HostKeyMismatch, "does not match")
+ process_cache_miss(host_keys, arguments, HostKeyMismatch, "does not match")
end
found