2009-06-12 [colin] 3.7.1cvs72
authorColin Leroy <colin@colino.net>
Fri, 12 Jun 2009 07:02:01 +0000 (07:02 +0000)
committerColin Leroy <colin@colino.net>
Fri, 12 Jun 2009 07:02:01 +0000 (07:02 +0000)
* src/common/ssl.c
Use compatibility mode in GnuTLS, and avoid problems with
servers that don't comply 100% with the spec, but still
exist.

ChangeLog
PATCHSETS
configure.ac
src/common/ssl.c

index 196dcf9..fdf69bc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-06-12 [colin]     3.7.1cvs72
+
+       * src/common/ssl.c
+               Use compatibility mode in GnuTLS, and avoid problems with 
+               servers that don't comply 100% with the spec, but still
+               exist.
+
 2009-06-06 [iwkse]     3.7.1cvs71
 
        * src/compose.c
index e3f8fd8..4deeb50 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.382.2.514 -r 1.382.2.515 src/compose.c;  ) > 3.7.1cvs69.patchset
 ( cvs diff -u -r 1.382.2.515 -r 1.382.2.516 src/compose.c;  ) > 3.7.1cvs70.patchset
 ( cvs diff -u -r 1.382.2.516 -r 1.382.2.517 src/compose.c;  ) > 3.7.1cvs71.patchset
+( cvs diff -u -r 1.9.2.40 -r 1.9.2.41 src/common/ssl.c;  ) > 3.7.1cvs72.patchset
index a05c4a3..1d88675 100644 (file)
@@ -12,7 +12,7 @@ MINOR_VERSION=7
 MICRO_VERSION=1
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=71
+EXTRA_VERSION=72
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index a16c58a..51e64c1 100644 (file)
@@ -270,7 +270,7 @@ gboolean ssl_init_socket_with_method(SockInfo *sockinfo, SSLMethod method)
        if (session == NULL || r != 0)
                return FALSE;
   
-       gnutls_set_default_priority(session);
+       gnutls_priority_set_direct(session, "NORMAL:%COMPAT", NULL);
        gnutls_protocol_set_priority (session, proto_prio);
        gnutls_cipher_set_priority (session, cipher_prio);
        gnutls_kx_set_priority (session, kx_prio);