Files
community.general/lib/ansible/module_utils
Yanis Guenane 496d10f7a8 Remove support for SSLv2 in test suite when not defined. (#39183)
When running the test test/units/module_utils/urls/test_open_url.py
test_open_url_no_validate_certs, the test fails because of the SSLv2
check.

Test is run on a machine using openssl 1.1.0g. By reading the openssl
man page[1], one can see that support for SSLv2 has been removed.

> Support for SSLv2 and the corresponding SSLv2_method(),
> SSLv2_server_method() and SSLv2_client_method() functions where removed
> in OpenSSL 1.1.0.
>
> SSLv23_method(), SSLv23_server_method() and SSLv23_client_method() were
> deprecated and the preferred TLS_method(), TLS_server_method() and
> TLS_client_method() functions were introduced in OpenSSL 1.1.0.

Hence this commit remove the uses of this flag when it is not defined.

[1] https://www.openssl.org/docs/man1.1.0/ssl/SSLv23_method.html
2018-05-25 12:50:19 -05:00
..
2017-08-07 19:46:06 -07:00
2017-06-02 12:14:11 +01:00
2017-06-02 12:14:11 +01:00
2017-06-02 12:14:11 +01:00
2018-05-24 15:36:08 -04:00
2017-09-12 00:11:13 -07:00
2017-06-02 12:14:11 +01:00
2016-02-08 19:10:04 +01:00
2017-11-21 13:41:27 -08:00
2017-06-02 12:14:11 +01:00
2018-05-23 09:29:37 -07:00
2017-11-21 10:03:34 -08:00
2017-09-13 01:53:08 -07:00
2018-05-17 17:32:27 -05:00
2017-06-02 12:14:11 +01:00
2018-03-08 16:46:06 +01:00