Re: tmda-ofmipd: Internal support for SSL via tlslite package
[email protected] (Jason R. Mastaler) Wed, 28 Feb 2007 10:56:44 -0700
| Newsgroups | gmane.mail.spam.tmda.devel |
|---|---|
| Message-ID | <[email protected]> |
Stephen Warren <[email protected]> writes: > Here is a fix for the issue: > > In tlslite/TLSRecordLayer.py, add the following code somewhere early on: > > try: > GeneratorExit > except NameError: > class GeneratorExit(Exception): pass > > In the function readAsync(), add this except clause just before this > existing one: > > except GeneratorExit: > raise > > With that fix, Python 2.3.6, 2.4.4, and 2.5 all work in SSL and TLS > mode, using TBird 1.5.0.9 on Windows (this message is even sent through it!) Nice sleuthing. That seems like a pretty simple fix. Do you have a diff against the stock tlslite-0.3.8 release? > I assume there will be a new tlslite release that includes this fix > - I guess I'll find out soon! That would be great.