pidgin: 48d1e64c: gg: Fix build w/ older versions of GnuTL..

darkrain42 at pidgin.im darkrain42 at pidgin.im
Sun Jul 17 00:13:37 EDT 2011


----------------------------------------------------------------------
Revision: 48d1e64c856480f47bfe6d27d67f4901f3ae3177
Parent:   e5b4603162afbfc6b1b93e8766d810c2d4243cd5
Author:   darkrain42 at pidgin.im
Date:     07/16/11 23:55:29
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/48d1e64c856480f47bfe6d27d67f4901f3ae3177

Changelog: 

gg: Fix build w/ older versions of GnuTLS.

Closes #14365

Changes against parent e5b4603162afbfc6b1b93e8766d810c2d4243cd5

  patched  ChangeLog
  patched  libpurple/protocols/gg/lib/libgadu.c

-------------- next part --------------
============================================================
--- ChangeLog	35a3ca25c31b2850a1a69f033ea38fb59443fd1b
+++ ChangeLog	af181061596987df03bd27b7ba9e0ee6dde15a95
@@ -12,6 +12,8 @@ version 2.10.0 (MM/DD/YYYY):
 	  (#5242)
 	* Better status message handling. (Tomasz Wasilczyk) (#14314)
 	* Merged two buddy blocking methods. (Tomasz Wasilczyk) (#5303)
+	* Fix building of the bundled libgadu library with older versions
+	  of GnuTLS. (patch plucked from upstream) (#14365)
 
 	MSN:
 	* Fix seemingly random crashing. (#14307)
============================================================
--- libpurple/protocols/gg/lib/libgadu.c	8513cccaeb9a844af5c923464197d2d0eeb76856
+++ libpurple/protocols/gg/lib/libgadu.c	c9d29e6893c4ccaf09a643074b5ee67d14941cb3
@@ -893,8 +893,7 @@ struct gg_session *gg_login(const struct
 		gnutls_global_init();
 		gnutls_certificate_allocate_credentials(&tmp->xcred);
 		gnutls_init(&tmp->session, GNUTLS_CLIENT);
-		gnutls_priority_set_direct(tmp->session, "NORMAL:-VERS-TLS", NULL);
-//		gnutls_priority_set_direct(tmp->session, "NONE:+VERS-SSL3.0:+AES-128-CBC:+RSA:+SHA1:+COMP-NULL", NULL);
+		gnutls_set_default_priority(tmp->session);
 		gnutls_credentials_set(tmp->session, GNUTLS_CRD_CERTIFICATE, tmp->xcred);
 #elif defined(GG_CONFIG_HAVE_OPENSSL)
 		char buf[1024];


More information about the Commits mailing list