freebsd-ports/security/openvas-libraries/files/patch-libopenvas-network.c
Tijl Coosemans 3ab1b8443e - Replace security/gnutls with security/gnutls3 and update to 3.2.15
- Bump PORTREVISION on all ports that depend on security/gnutls and
  adjust all ports that depend on security/gnutls3
- Update mail/anubis to version 4.2 which supports gnutls 3.x
- Update mail/libvmime to a development snapshot (recommended by upstream
  developers)

PR:		191274
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-07-23 09:54:02 +00:00

11 lines
330 B
C

--- libopenvas/network.c.orig
+++ libopenvas/network.c
@@ -771,8 +771,6 @@
}
unblock_socket(fp->fd);
- /* for non-blocking sockets, gnutls requires a 0 lowat value */
- gnutls_transport_set_lowat(fp->tls_session, 0);
gnutls_transport_set_ptr(fp->tls_session, (gnutls_transport_ptr_t) GSIZE_TO_POINTER(fp->fd));