1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/units/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
..
aws
basic Module basic.py to create parent dirs of tmpdir if needed (#40201) 2018-05-17 09:52:46 +10:00
cloud
ec2
facts
gcp [GCP] New module GCP DNS Resource Record Set (#35920) 2018-04-12 07:31:43 -04:00
json_utils
net_tools
network Extreme Networks SLXOS Config Module (#38607) 2018-04-20 08:52:20 +01:00
parsing
urls Remove support for SSLv2 in test suite when not defined. (#39183) 2018-05-25 12:50:19 -05:00
__init__.py
conftest.py
test_database.py
test_distribution_version.py
test_known_hosts.py
test_postgresql.py
test_text.py