updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / openvas-libraries / openvas-gnutls.patch
blobd3720e87b888fa8889ddbb3e114ed369cd078dca
1 diff -urN openvas-libraries-4.0.5.orig/misc/network.c openvas-libraries-4.0.5/misc/network.c
2 --- openvas-libraries-4.0.5.orig/misc/network.c 2011-06-01 15:38:37.000000000 +0200
3 +++ openvas-libraries-4.0.5/misc/network.c 2011-10-23 13:24:56.416944706 +0200
4 @@ -824,8 +824,6 @@
7 unblock_socket (fp->fd);
8 - /* for non-blocking sockets, gnutls requires a 0 lowat value */
9 - gnutls_transport_set_lowat (fp->tls_session, 0);
11 gnutls_transport_set_ptr (fp->tls_session,
12 (gnutls_transport_ptr_t) GSIZE_TO_POINTER (fp->fd));