diff options
author | haccht <haccht@users.noreply.github.com> | 2020-08-06 14:50:40 +0900 |
---|---|---|
committer | haccht <haccht@users.noreply.github.com> | 2020-08-06 14:50:40 +0900 |
commit | f94033a603d5483083c7873fb3417bf70c531c3a (patch) | |
tree | eb2c84348aceb6cdb967bdda83858b6ecd0bc774 /lib | |
parent | d731c11d8bd0feb9d252416611474e1694245272 (diff) | |
download | net-ssh-f94033a603d5483083c7873fb3417bf70c531c3a.tar.gz |
Fix missing OpenSSL::Pkey::EC::Point#ssh_signature_type
Diffstat (limited to 'lib')
-rw-r--r-- | lib/net/ssh/transport/openssl.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/net/ssh/transport/openssl.rb b/lib/net/ssh/transport/openssl.rb index 7b16c3d..4511d8f 100644 --- a/lib/net/ssh/transport/openssl.rb +++ b/lib/net/ssh/transport/openssl.rb @@ -245,6 +245,10 @@ module OpenSSL "ecdsa-sha2-#{CurveNameAliasInv[group.curve_name]}" end + def ssh_signature_type + ssh_type + end + # Converts the key to a blob, according to the SSH2 protocol. def to_blob @blob ||= Net::SSH::Buffer.from(:string, ssh_type, |