void-packages/srcpkgs/python-requests/patches/use-system-cacerts.patch

13 lines
382 B
Diff

--- a/requests/certs.py 2017-05-29 20:09:29.000000000 +0200
+++ b/requests/certs.py 2017-06-06 13:06:31.803000513 +0200
@@ -12,7 +12,8 @@
environment, you can change the definition of where() to return a separately
packaged CA bundle.
"""
-from certifi import where
+def where():
+ return '/etc/ssl/certs/ca-certificates.crt'
if __name__ == '__main__':
print(where())