gwenhywfar/gwenhywfar-gnutls-3.0.3.patch

15 lines
602 B
Diff

Index: gwenhywfar-4.3.0/src/sio/syncio_tls.c
===================================================================
--- gwenhywfar-4.3.0.orig/src/sio/syncio_tls.c
+++ gwenhywfar-4.3.0/src/sio/syncio_tls.c
@@ -469,7 +469,9 @@ int GWEN_SyncIo_Tls_Prepare(GWEN_SYNCIO
gnutls_transport_set_ptr(xio->session, (gnutls_transport_ptr_t)sio);
gnutls_transport_set_push_function(xio->session, GWEN_SyncIo_Tls_Push);
gnutls_transport_set_pull_function(xio->session, GWEN_SyncIo_Tls_Pull);
+#if GNUTLS_VERSION_NUMBER < 0x030003
gnutls_transport_set_lowat(xio->session, 0);
+#endif
xio->prepared=1;