summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Carling <lowe@lowe.nu>2019-10-31 02:52:13 +0100
committerAnders Carling <lowe@lowe.nu>2019-10-31 02:52:13 +0100
commita7a0448f365229834239932b33af45d27fb16183 (patch)
tree74001d5f5a7ece74542c98b077e24d3e1b3e3fbb
parentfff43a2098dacb57380f82c39542d15c8610bdeb (diff)
downloadnet-ssh-a7a0448f365229834239932b33af45d27fb16183.tar.gz
Remove disused variable
-rw-r--r--lib/net/ssh/authentication/key_manager.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/ssh/authentication/key_manager.rb b/lib/net/ssh/authentication/key_manager.rb
index fec15c0..f22ba88 100644
--- a/lib/net/ssh/authentication/key_manager.rb
+++ b/lib/net/ssh/authentication/key_manager.rb
@@ -138,7 +138,7 @@ module Net
keycert = KeyFactory.load_public_key(keycert_file)
next if known_identity_blobs.include?(keycert.to_blob)
- (_, corresponding_identity) = known_identities.detect { |public_key, identity|
+ (_, corresponding_identity) = known_identities.detect { |public_key, _|
public_key.to_pem == keycert.to_pem
}