File: dont-test-cyphers-that-dont-have-fixtures

package info (click to toggle)
ruby-net-ssh 1%3A2.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,484 kB
  • ctags: 1,862
  • sloc: ruby: 12,621; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 606 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Don't test cyphers that don't have fixtures

Author: David Suárez <david.sephirot@gmail.com>
Last-Update: 2014-10-5

--- ruby-net-ssh-2.9.1.orig/test/transport/test_packet_stream.rb
+++ ruby-net-ssh-2.9.1/test/transport/test_packet_stream.rb
@@ -1683,6 +1683,8 @@ module Transport
         next
       end
 
+      next if cipher_name == 'aes256-gcm@openssh.com' or cipher_name == 'aes128-gcm@openssh.com'
+
       # JRuby Zlib implementation (1.4 & 1.5) does not have byte-to-byte compatibility with MRI's.
       # skip these 80 or more tests under JRuby.
       if defined?(JRUBY_VERSION)