summaryrefslogtreecommitdiff
path: root/lib/net/ssh/buffer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/net/ssh/buffer.rb')
-rw-r--r--lib/net/ssh/buffer.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/net/ssh/buffer.rb b/lib/net/ssh/buffer.rb
index 58127b3..e5d12eb 100644
--- a/lib/net/ssh/buffer.rb
+++ b/lib/net/ssh/buffer.rb
@@ -284,11 +284,7 @@ module Net
end
key
when /^ecdsa\-sha2\-(\w*)$/
- key = OpenSSL::PKey::EC.read_keyblob($1, self)
- key.private_key = read_bignum
- _key_comment = read_string
-
- key
+ OpenSSL::PKey::EC.read_keyblob($1, self)
else
raise Exception, "Cannot decode private key of type #{type}"
end