diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-06-21 12:46:04 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-06-21 12:46:04 +0000 |
| commit | ae97cfcf2b034344cef97c52cdf57eb884e4873c (patch) | |
| tree | 471c279e9fafeaaa0309ebb658fa581d88b282f0 /dev-python/imapclient/files | |
| parent | 9c08e858f67332a3a87a7650f81becb85ab28cee (diff) | |
| download | baldeagleos-repo-ae97cfcf2b034344cef97c52cdf57eb884e4873c.tar.gz baldeagleos-repo-ae97cfcf2b034344cef97c52cdf57eb884e4873c.tar.xz baldeagleos-repo-ae97cfcf2b034344cef97c52cdf57eb884e4873c.zip | |
Adding metadata
Diffstat (limited to 'dev-python/imapclient/files')
| -rwxr-xr-x | dev-python/imapclient/files/imapclient-2.2.0-ssl-context.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-python/imapclient/files/imapclient-2.2.0-ssl-context.patch b/dev-python/imapclient/files/imapclient-2.2.0-ssl-context.patch new file mode 100755 index 000000000000..b3a12823f6a5 --- /dev/null +++ b/dev-python/imapclient/files/imapclient-2.2.0-ssl-context.patch @@ -0,0 +1,13 @@ +https://github.com/mjs/imapclient/issues/466 +https://bugs.gentoo.org/835498 +--- a/imapclient/tls.py ++++ b/imapclient/tls.py +@@ -27,7 +27,7 @@ def wrap_socket(sock, ssl_context, host): + return ssl.wrap_socket(sock) + + if ssl_context is None: +- ssl_context = ssl.create_default_context() ++ ssl_context = ssl.create_default_context(purpose=ssl.Purpose.SERVER_AUTH) + + return ssl_context.wrap_socket(sock, server_hostname=host) + |
