1 diff -Nur winexe-1.00.orig/source4/lib/tls/tls.c winexe-1.00/source4/lib/tls/tls.c
2 --- winexe-1.00.orig/source4/lib/tls/tls.c 2011-06-16 08:56:58.000000000 +1000
3 +++ winexe-1.00/source4/lib/tls/tls.c 2011-09-21 10:20:40.052225642 +1000
5 gnutls_transport_set_ptr(tls->session, (gnutls_transport_ptr)tls);
6 gnutls_transport_set_pull_function(tls->session, (gnutls_pull_func)tls_pull);
7 gnutls_transport_set_push_function(tls->session, (gnutls_push_func)tls_push);
8 +#if GNUTLS_VERSION_NUMBER < 0x020c00
9 gnutls_transport_set_lowat(tls->session, 0);
12 tls->plain_chars = plain_chars;
15 gnutls_transport_set_ptr(tls->session, (gnutls_transport_ptr)tls);
16 gnutls_transport_set_pull_function(tls->session, (gnutls_pull_func)tls_pull);
17 gnutls_transport_set_push_function(tls->session, (gnutls_push_func)tls_push);
18 +#if GNUTLS_VERSION_NUMBER < 0x020c00
19 gnutls_transport_set_lowat(tls->session, 0);
21 tls->tls_detect = false;
23 tls->output_pending = false;