Skip to content

Commit

Permalink
RHEL6 accepts crypto settings from openssh 5.9
Browse files Browse the repository at this point in the history
Signed-off-by: Wojciech Kopras <[email protected]>
  • Loading branch information
Wojciech Kopras committed May 8, 2019
1 parent b543c17 commit 4f3651f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/ssh_crypto.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def valid_kexs # rubocop:disable Metrics/CyclomaticComplexity, Metrics/MethodLen
when 'redhat', 'centos', 'oracle'
case inspec.os[:release]
when /^6\./
kex = nil
kex = kex59
when /^7\./
kex = kex66
end
Expand Down Expand Up @@ -153,7 +153,7 @@ def valid_macs # rubocop:disable Metrics/CyclomaticComplexity, Metrics/MethodLen
when 'redhat', 'centos', 'oracle'
case inspec.os[:release]
when /^6\./
macs = macs53
macs = macs59
when /^7\./
macs = macs66
end
Expand Down

0 comments on commit 4f3651f

Please sign in to comment.