[Commits] ssl.c 1.9.2.56 1.9.2.57
colin at claws-mail.org
colin at claws-mail.org
Wed Sep 19 16:48:48 CEST 2012
Update of /home/claws-mail/claws/src/common
In directory srv:/tmp/cvs-serv14073/src/common
Modified Files:
Tag: gtk2
ssl.c
Log Message:
2012-09-19 [colin] 3.8.1cvs64
* src/mainwindow.c
Check possible overflow
* src/prefs_account.c
* src/prefs_compose_writing.c
* src/prefs_logging.c
* src/prefs_message.c
* src/prefs_msg_colors.c
* src/prefs_other.c
* src/prefs_receive.c
* src/prefs_summaries.c
* src/prefs_wrapping.c
fix GtkAdjustment casts
* src/common/ssl.c
fix warnings
* src/gtk/gtkaspell.c
fix warnings
Index: ssl.c
===================================================================
RCS file: /home/claws-mail/claws/src/common/ssl.c,v
retrieving revision 1.9.2.56
retrieving revision 1.9.2.57
diff -u -d -r1.9.2.56 -r1.9.2.57
--- ssl.c 12 Sep 2012 08:52:47 -0000 1.9.2.56
+++ ssl.c 19 Sep 2012 14:48:46 -0000 1.9.2.57
@@ -266,9 +266,6 @@
if (session == NULL || r != 0)
return FALSE;
-#if GNUTLS_VERSION_NUMBER < 0x030003
- gnutls_transport_set_lowat (session, 0);
-#endif
if (method == 0)
gnutls_priority_set_direct(session, "NORMAL:-VERS-TLS1.0:-VERS-TLS1.1:-VERS-TLS1.2", NULL);
else
@@ -288,7 +285,7 @@
}
gnutls_certificate_set_verify_flags (xcred, GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT);
- gnutls_transport_set_ptr(session, (gnutls_transport_ptr) sockinfo->sock);
+ gnutls_transport_set_ptr(session, (gnutls_transport_ptr) GINT_TO_POINTER(sockinfo->sock));
gnutls_session_set_ptr(session, sockinfo);
gnutls_certificate_client_set_retrieve_function(xcred, gnutls_client_cert_cb);
More information about the Commits
mailing list