Advertisement
Drommer

certs.patch

Oct 16th, 2022
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | Software | 0 0
  1. diff --git a/requests/certs.py b/requests/certs.py
  2. index d1a378d7..4e0bffd4 100644
  3. --- a/requests/certs.py
  4. +++ b/requests/certs.py
  5. @@ -12,7 +12,8 @@ If you are packaging Requests, e.g., for a Linux distribution or a managed
  6. environment, you can change the definition of where() to return a separately
  7. packaged CA bundle.
  8. """
  9. -from certifi import where
  10. +def where():
  11. + return "/etc/ssl/certs/ca-certificates.crt"
  12.  
  13. if __name__ == '__main__':
  14. print(where())
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement