mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
Fix SSL tests by allowing multiple cipher counts
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
This commit is contained in:
commit
ed460c7869
1 changed files with 1 additions and 1 deletions
|
@ -50,6 +50,6 @@ describe 'Inspec::Resources::SSL' do
|
|||
resource = load_resource('ssl', host: 'localhost')
|
||||
_(resource.protocols.uniq).must_equal ['ssl2', 'ssl3', 'tls1.0', 'tls1.1', 'tls1.2']
|
||||
_(resource.ciphers.include?('TLS_RSA_WITH_AES_128_CBC_SHA256')).must_equal true
|
||||
_(resource.ciphers.count).must_equal 681
|
||||
[681, 993].must_include(resource.ciphers.count)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue