forked from pool/python-pyOpenSSL
- fixed build deps. - drop patches: openssl-1.1.0i.patch openssl-1.1.1.patch opensuse_ca.patch tls13-renegotiation.patch * X509Store.add_cert no longer raises an error if you add a duplicate cert. * pyOpenSSL now works with OpenSSL 1.1.1. * pyOpenSSL now handles NUL bytes in X509Name.get_components() OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyOpenSSL?expand=0&rev=58
15 lines
700 B
Diff
15 lines
700 B
Diff
Index: pyOpenSSL-19.0.0/src/OpenSSL/SSL.py
|
|
===================================================================
|
|
--- pyOpenSSL-19.0.0.orig/src/OpenSSL/SSL.py
|
|
+++ pyOpenSSL-19.0.0/src/OpenSSL/SSL.py
|
|
@@ -221,7 +221,8 @@ SSL_CB_HANDSHAKE_DONE = _lib.SSL_CB_HAND
|
|
_CERTIFICATE_FILE_LOCATIONS = [
|
|
"/etc/ssl/certs/ca-certificates.crt", # Debian/Ubuntu/Gentoo etc.
|
|
"/etc/pki/tls/certs/ca-bundle.crt", # Fedora/RHEL 6
|
|
- "/etc/ssl/ca-bundle.pem", # OpenSUSE
|
|
+ "/var/lib/ca-certificates/ca-bundle.pem", #openSUSE real locaction
|
|
+ "/etc/ssl/ca-bundle.pem", # openSUSE
|
|
"/etc/pki/tls/cacert.pem", # OpenELEC
|
|
"/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem", # CentOS/RHEL 7
|
|
]
|