tls_tstream: use a dynamic buffer for the push case
authorStefan Metzmacher <metze@samba.org>
Mon, 29 Nov 2010 11:27:11 +0000 (12:27 +0100)
committerStefan Metzmacher <metze@samba.org>
Sat, 4 Dec 2010 11:12:21 +0000 (12:12 +0100)
commit69ad3f7f90273cb62f67331982a40aa99ea05d90
tree903f6b940ddc22efb581d479daab3c4db76404b5
parenta42ccab929766702029f624f5cc18bc034889c29
tls_tstream: use a dynamic buffer for the push case

Some versions of gnutls doesn't handle EAGAIN correctly,
so we better allow sending buffers without a low size limitation,
the limit is now UINT16_MAX (0xFFFF) and we allocate the buffer
with talloc each time.

metze
source4/lib/tls/tls_tstream.c