lib/net/ssh/buffer.rb in net-ssh-2.6.2 vs lib/net/ssh/buffer.rb in net-ssh-2.6.3
- old
+ new
@@ -259,10 +259,10 @@
unless defined?(OpenSSL::PKey::EC)
raise NotImplementedError, "unsupported key type `#{type}'"
else
begin
key = OpenSSL::PKey::EC.read_keyblob($1, self)
- rescue OpenSSL::PKey::ECError => e
+ rescue OpenSSL::PKey::ECError
raise NotImplementedError, "unsupported key type `#{type}'"
end
end
else
raise NotImplementedError, "unsupported key type `#{type}'"