updated on Fri Jan 13 08:00:32 UTC 2012
[aur-mirror.git] / winexe / gnutls.patch
blobc7eda05c4e3a9835b58a6a2e5870305142b09163
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
4 @@ -505,7 +505,9 @@
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);
10 +#endif
12 tls->plain_chars = plain_chars;
13 if (plain_chars) {
14 @@ -574,7 +576,9 @@
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);
20 +#endif
21 tls->tls_detect = false;
23 tls->output_pending = false;