Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proper tests for Opensuse leap 42.1 #84

Merged
merged 1 commit into from
Feb 5, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions libraries/ssh_crypto.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ def valid_ciphers # rubocop:disable Metrics/CyclomaticComplexity, Metrics/Method
case inspec.os[:release]
when /13\.2/
ciphers = ciphers66
when /42\.1/
ciphers = ciphers66
end
when 'mac_os_x'
case inspec.os[:release]
Expand Down Expand Up @@ -104,6 +106,8 @@ def valid_kexs # rubocop:disable Metrics/CyclomaticComplexity, Metrics/MethodLen
case inspec.os[:release]
when /13\.2/
kex = kex66
when /42\.1/
kex = kex66
end
when 'mac_os_x'
case inspec.os[:release]
Expand Down Expand Up @@ -155,6 +159,8 @@ def valid_macs # rubocop:disable Metrics/CyclomaticComplexity, Metrics/MethodLen
case inspec.os[:release]
when /13\.2/
macs = macs66
when /42\.1/
macs = macs66
end
when 'mac_os_x'
case inspec.os[:release]
Expand Down Expand Up @@ -231,6 +237,8 @@ def valid_algorithms # rubocop:disable Metrics/CyclomaticComplexity, Metrics/Met
case inspec.os[:release]
when /13\.2/
alg = alg66
when /42\.1/
alg = alg66
end
when 'mac_os_x'
case inspec.os[:release]
Expand Down