diff options
author | Florian Wininger <fw.centrale@gmail.com> | 2022-04-29 14:20:47 +0200 |
---|---|---|
committer | Florian Wininger <fw.centrale@gmail.com> | 2022-04-29 14:32:38 +0200 |
commit | 39aa8dfc97e87f83626f382bea1c804fef6367d5 (patch) | |
tree | d9e00293c08b19ab0f286406bb82789e0e55b184 /lib/net/ssh | |
parent | aca76f4602b59f0671ce6b083f434f7a4ec995af (diff) | |
download | net-ssh-openssl3.tar.gz |
Fix #854 regressionopenssl3
Diffstat (limited to 'lib/net/ssh')
-rw-r--r-- | lib/net/ssh/buffer.rb | 6 |
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 |