Logo
Explore Help
Sign In
pool/python
SHA256
9
0
Fork 1
You've already forked python
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
ec904350eefbd508eee14b346d8451c223ae157239212b3ca668ca0a2409a75a
python/sle_tls_checks_policy.py

5 lines
68 B
Python
Raw Normal View History

- copy strict-tls-checks subpackage from SLE to retain future compatibility (not built in openSUSE) - do this properly to fix bnc#945401 - implement python-strict-tls-checks subpackage * when present, Python will perform TLS certificate checking by default. it is possible to remove the package to turn off the checks for compatibility with legacy scripts. * as discussed in fate#318300 * this is not built for openSUSE, but retained here in case we want to build the package for a SLE system OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=188
2015-09-14 15:36:31 +00:00
import ssl
def get_policy():
return ssl.create_default_context
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.4 Page: 38ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API