Files
freeipa/ipalib
Alexander Bokovoy d237c40b2c ipalib/util.py: switch to ssl.PROTOCOL_TLS_CLIENT by default
Python 3.10 deprecated ssl.PROTOCOL_TLS and ssl.PROTOCOL_SSLv23
constants which were aliases to each other. Use of them now causes a
warning to be displayed:

/usr/lib/python3.10/site-packages/ipalib/util.py:347: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated
  ctx = ssl.SSLContext(ssl.PROTOCOL_SSLv23)

Use ssl.PROTOCOL_TLS_CLIENT instead, this constant is available since
Python 3.6.

Fixes: https://pagure.io/freeipa/issue/9129

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2022-03-17 11:49:57 -04:00
..
2022-03-11 13:37:08 -05:00
2022-03-11 13:37:08 -05:00
2022-03-11 13:37:08 -05:00
2022-03-11 13:37:08 -05:00
2022-03-11 13:37:08 -05:00
2021-04-27 13:10:26 -04:00
2022-03-11 13:37:08 -05:00
2018-09-27 11:49:04 +02:00
2022-03-11 13:37:08 -05:00
2016-10-20 18:43:37 +02:00
2022-03-11 13:37:08 -05:00
2022-03-11 13:37:08 -05:00