Message134614
I am attaching a patch for the default branch that adds a ssl_context parameter to IMAP4_SSL. Also added a couple of tests to test_imaplib to test the existing ctor with certfile and file and also the new one that accepts an SSLContext.
Currently if the ssl_context param is provided then the keyfile and certfile are ignored, I wasn't sure if the ssl_context should be loaded with the certfile if that is provided along with the ssl_context.
If this looks ok, I can add something similar for smtplib as well. |
|
| Date |
User |
Action |
Args |
| 2011-04-27 20:47:49 | sijinjoseph | set | recipients:
+ sijinjoseph, jcea, janssen, pitrou, giampaolo.rodola |
| 2011-04-27 20:47:49 | sijinjoseph | set | messageid: <[email protected]> |
| 2011-04-27 20:47:48 | sijinjoseph | link | issue8808 messages |
| 2011-04-27 20:47:48 | sijinjoseph | create | |
|