mirror of
https://github.com/rest-client/rest-client.git
synced 2022-11-09 13:49:40 -05:00
Assert that ciphers are not weak.
This commit is contained in:
parent
824b4d95e5
commit
a97ccae7f0
1 changed files with 5 additions and 0 deletions
|
@ -1131,6 +1131,11 @@ describe RestClient::Request, :include_helpers do
|
|||
@request.send(:transmit, @uri, 'req', 'payload')
|
||||
end
|
||||
|
||||
it 'should not have weak default ciphers' do
|
||||
expect(OpenSSL::SSL::SSLContext::DEFAULT_PARAMS.fetch(:ciphers)).not_to \
|
||||
equal("ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW")
|
||||
end
|
||||
|
||||
# </ssl>
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue