diff options
Diffstat (limited to 'dev-python/certifi/files')
-rw-r--r-- | dev-python/certifi/files/certifi-2018.4.16-use-system-cacerts.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-python/certifi/files/certifi-2018.4.16-use-system-cacerts.patch b/dev-python/certifi/files/certifi-2018.4.16-use-system-cacerts.patch new file mode 100644 index 000000000000..009f21168c1e --- /dev/null +++ b/dev-python/certifi/files/certifi-2018.4.16-use-system-cacerts.patch @@ -0,0 +1,15 @@ +Use system's CA certificate store + +--- a/certifi/core.py ++++ b/certifi/core.py +@@ -19,9 +19,7 @@ class DeprecatedBundleWarning(DeprecationWarning): + + + def where(): +- f = os.path.dirname(__file__) +- +- return os.path.join(f, 'cacert.pem') ++ return "@GENTOO_PORTAGE_EPREFIX@/etc/ssl/certs/ca-certificates.crt" + + + def old_where(): |