14 lines
551 B
Diff
14 lines
551 B
Diff
diff -Nru claws-mail-3.7.10-orig/src/common/ssl.c claws-mail-3.7.10/src/common/ssl.c
|
|
--- claws-mail-3.7.10-orig/src/common/ssl.c 2011-10-13 19:44:57.587829501 +0300
|
|
+++ claws-mail-3.7.10/src/common/ssl.c 2011-10-13 19:46:21.876487515 +0300
|
|
@@ -270,7 +270,9 @@
|
|
if (session == NULL || r != 0)
|
|
return FALSE;
|
|
|
|
+#if GNUTLS_VERSION_NUMBER < 0x030003
|
|
gnutls_transport_set_lowat (session, 1);
|
|
+#endif
|
|
gnutls_set_default_priority(session);
|
|
gnutls_protocol_set_priority (session, proto_prio);
|
|
gnutls_cipher_set_priority (session, cipher_prio);
|