Re: bug 345135 proposed patch
Jeffrey Stedfast <[email protected]> Fri, 28 Sep 2007 10:45:22 -0400
| Newsgroups | gmane.comp.gnome.evolution.patches |
|---|---|
| Organization | Novell, Inc. |
| Message-ID | <1190990722.32261.94.camel@serenity> |
Aha! This will probably make many people happy... are there SSL_V3_COMPATIBLE_HELLO and TLS_COMPATIBLE_HELLO flags as well? I had no idea there was such a flag for handshaking... I thought it was all handled by SSL_ENABLE_SSL[2,3] flags. No wonder people have had problems... Jeff 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. > > > Regards, > > > _______________________________________________ > Evolution-patches mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/evolution-patches