s4:lib/tls - call "gnutls_transport_set_lowat" only on GNUTLS < 3.0
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Mon, 28 Nov 2011 19:55:37 +0000 (20:55 +0100)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Mon, 28 Nov 2011 19:57:21 +0000 (20:57 +0100)
commit0d33383b0dcef2bfc805432798e1f46097ee1f15
treeb9eb0e9de486e8b3510fb4eb76280109d7e2f58d
parent9ccb48c88782c347d59e772a08aa0ed6fd9564c9
s4:lib/tls - call "gnutls_transport_set_lowat" only on GNUTLS < 3.0

This function call together with the lowat feature has been removed in release
3.0 as described in this mailing list post:
http://old.nabble.com/gnutls_transport_set_lowat-deprecated-td32554230.html.

Since we do not make any use of lowat (esprimed by each function call)
we are free to simply omit it on v3.0 and later.

This addresses bug #8537.
source4/lib/tls/tls.c
source4/lib/tls/tls_tstream.c