diff options
author | Miklos Fazekas <mfazekas@szemafor.com> | 2020-04-25 14:13:45 +0200 |
---|---|---|
committer | Miklos Fazekas <mfazekas@szemafor.com> | 2020-04-25 14:40:13 +0200 |
commit | 104350b94cf0a27e5c0b786dd8e90944273f64aa (patch) | |
tree | e53940d36908d91ae4b87709492070c424482087 | |
parent | ebc6e4b1cb3e14e8aead1adc464d223324eb0028 (diff) | |
download | net-ssh-104350b94cf0a27e5c0b786dd8e90944273f64aa.tar.gz |
Fixed test_alg
-rw-r--r-- | test/transport/test_algorithms.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/transport/test_algorithms.rb b/test/transport/test_algorithms.rb index 9f56d05..c985f2c 100644 --- a/test/transport/test_algorithms.rb +++ b/test/transport/test_algorithms.rb @@ -148,12 +148,12 @@ module Transport end def test_constructor_with_preferred_hmac_supports_additions - assert_equal %w[hmac-sha2-512-etm@openssh.com hmac-sha2-256-etm@openssh.com hmac-sha2-512 hmac-sha2-256 hmac-sha1 hmac-sha2-512-96 hmac-sha2-256-96 hmac-sha1-96 hmac-ripemd160 hmac-ripemd160@openssh.com hmac-md5 hmac-md5-96], + assert_equal %w[hmac-sha2-512 hmac-sha2-256 hmac-sha1 hmac-sha2-512-96 hmac-sha2-256-96 hmac-sha1-96 hmac-ripemd160 hmac-ripemd160@openssh.com hmac-md5 hmac-md5-96 hmac-sha2-256-etm@openssh.com hmac-sha2-512-etm@openssh.com], algorithms(hmac: %w[+hmac-md5-96 -none])[:hmac] end def test_constructor_with_preferred_hmac_supports_removals_with_wildcard - assert_equal %w[hmac-sha2-512-etm@openssh.com hmac-sha2-256-etm@openssh.com hmac-sha2-512 hmac-sha2-256 hmac-sha2-512-96 hmac-sha2-256-96 hmac-ripemd160 hmac-ripemd160@openssh.com], + assert_equal %w[hmac-sha2-512 hmac-sha2-256 hmac-sha2-512-96 hmac-sha2-256-96 hmac-ripemd160 hmac-ripemd160@openssh.com hmac-sha2-256-etm@openssh.com hmac-sha2-512-etm@openssh.com], algorithms(hmac: %w[-hmac-sha1* -hmac-md5* -none])[:hmac] end |