Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Schurz <[email protected]>
  • Loading branch information
schurzi committed Jul 16, 2020
1 parent 30e98c1 commit 5ad1788
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controls/sshd_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -508,12 +508,12 @@
impact 1.0
title 'Server: CRYPTO_POLICY'
desc 'Verifies, that we are not running CRYPTO_POLICY and our settings from sshd_config are effective'
if os[:family] == "redhat" && ::Gem::Version.new(os.release) > ::Gem::Version.new('8')
if os[:family] == 'redhat' && ::Gem::Version.new(os.release) > ::Gem::Version.new('8')
describe bash("pgrep -af 'sshd -D'") do
its('exit_status') { should eq 0 }
its('stdout') { should_not match('-oCiphers') }
its('stdout') { should_not match('-oKexAlgorithms') }
its('stdout') { should_not match('-oHostKeyAlgorithms') }
end
end
end
end

0 comments on commit 5ad1788

Please sign in to comment.