Mercurial > pidgin.yaz
changeset 25132:6eff00e729ac
patch from Martin von Gagern that uses a new gnutls option to enable better
compatibility with a msn contact server
Fixes #3456
author | Ka-Hing Cheung <khc@hxbc.us> |
---|---|
date | Sat, 21 Feb 2009 23:26:22 +0000 |
parents | f38799160cfa |
children | 309f6dca369a 7f984048ab31 |
files | COPYRIGHT libpurple/plugins/ssl/ssl-gnutls.c |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/COPYRIGHT Sat Feb 21 22:10:27 2009 +0000 +++ b/COPYRIGHT Sat Feb 21 23:26:22 2009 +0000 @@ -143,6 +143,7 @@ Adam Fritzler Takao Fujiwara Max G. +Martin von Gagern François Gagné Andrew Gaul Evgueni V. Gavrilov
--- a/libpurple/plugins/ssl/ssl-gnutls.c Sat Feb 21 22:10:27 2009 +0000 +++ b/libpurple/plugins/ssl/ssl-gnutls.c Sat Feb 21 23:26:22 2009 +0000 @@ -256,7 +256,9 @@ gsc->private_data = gnutls_data; gnutls_init(&gnutls_data->session, GNUTLS_CLIENT); - gnutls_set_default_priority(gnutls_data->session); + if (gnutls_priority_set_direct(gnutls_data->session, + "NORMAL:%SSL3_RECORD_VERSION", NULL)) + gnutls_priority_set_direct(gnutls_data->session, "NORMAL", NULL); gnutls_certificate_type_set_priority(gnutls_data->session, cert_type_priority);