diff options
author | Anders Carling <lowe@lowe.nu> | 2019-10-31 02:52:13 +0100 |
---|---|---|
committer | Anders Carling <lowe@lowe.nu> | 2019-10-31 02:52:13 +0100 |
commit | a7a0448f365229834239932b33af45d27fb16183 (patch) | |
tree | 74001d5f5a7ece74542c98b077e24d3e1b3e3fbb | |
parent | fff43a2098dacb57380f82c39542d15c8610bdeb (diff) | |
download | net-ssh-a7a0448f365229834239932b33af45d27fb16183.tar.gz |
Remove disused variable
-rw-r--r-- | lib/net/ssh/authentication/key_manager.rb | 2 |
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 } |