Re: bug 345135 proposed patch
Philip Van Hoof <[email protected]> Sun, 07 Oct 2007 13:02:26 +0200
| Newsgroups | gmane.comp.gnome.evolution.patches |
|---|---|
| Message-ID | <1191754946.6550.4.camel@schtrumpf> |
On Fri, 2007-09-28 at 16:22 +0200, Niels Vorgaard Christensen wrote: > Some IMAP servers disconnect Evolution during the handshake following > the STARTTLS command. This happens because Evolution uses a SSL version > 2 compatible HELLO, while the server expects a TLS HELLO. The attached > patch corrects this behavior by disabling the SSL_V2_COMPATIBLE_HELLO > option on the ssl fd when the CAMEL_TCP_STREAM_SSL_ENABLE_SSL2 flag is > disabled for the stream. > > This will of cause break on servers which expects a SSLv2 HELLO on > STARTTLS if such exists. > > I have attached a similar patch to the bug, but I think the one attached > to this mail is slightly more consistent. FYI, applied to Tinymail's camel-lite: http://tinymail.org/trac/tinymail/changeset/2822 Adding Srinivasa in CC as he's porting things from camel-lite to camel. -- Philip Van Hoof, software developer home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org http://www.pvanhoof.be/blog