summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMiklos Fazkeas <mfazekas@szemafor.com>2014-08-22 19:26:48 +0200
committerMiklos Fazkeas <mfazekas@szemafor.com>2014-08-22 19:26:48 +0200
commit4f1cfa544fb73cf24c2cffbd758408101c22cf7c (patch)
tree0e2045baa0402f89bc2233d773fc9c71d2e727b9 /test
parent441d07882645114b5acc764d2b0b83930c6cacd7 (diff)
downloadnet-ssh-4f1cfa544fb73cf24c2cffbd758408101c22cf7c.tar.gz
Disabled enqueue packet test for ciphers with no packet data
Diffstat (limited to 'test')
-rw-r--r--test/transport/test_packet_stream.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/transport/test_packet_stream.rb b/test/transport/test_packet_stream.rb
index c83d9b0..99f0bb8 100644
--- a/test/transport/test_packet_stream.rb
+++ b/test/transport/test_packet_stream.rb
@@ -1678,7 +1678,7 @@ module Transport
hmacs = Net::SSH::Transport::HMAC::MAP.keys
ciphers.each do |cipher_name|
- unless Net::SSH::Transport::CipherFactory.supported?(cipher_name)
+ unless Net::SSH::Transport::CipherFactory.supported?(cipher_name) && PACKETS.has_key?(cipher_name)
puts "Skipping packet stream test for #{cipher_name}"
next
end