Re: [Evolution-hackers] How to automatically check and select the proper protocol?
- From: Joe Shaw <joe ximian com>
- To: Sean Gao <sean gao sun com>
- Cc: evolution-hackers lists ximian com
- Subject: Re: [Evolution-hackers] How to automatically check and select the proper protocol?
- Date: 07 May 2003 11:26:17 -0400
On Wed, 2003-05-07 at 06:23, Sean Gao wrote:
> Hi libsoup hackers,
> We meet the problem while building and using libsoup with gnutls.
> Currently libsoup uses TLS1 as default protocol, but when we have to
> connect a server which only supports SSL3, we always get handshake
> failure. Following piece is my e-mail to gnutls guys, it would be
> highly appreciated if you guys could provide us some help on it?
Doesn't OpenSSL do TLS? For some reason I thought it did. Either way,
GnuTLS falls back to an earlier protocol if a newer one isn't supported,
so the server is probably being too strict in what it accepts.
Probably the best way to workaround this is to add a bitfield for
supported protocols in libsoup and add some API for setting it and
update the openssl and gnutls backends to use the settings. There's
similar code in soup-misc.c, look there for a template.
] [Thread Prev