s4:lib/tls: buffer writes in tstream_tls_push_function()
authorStefan Metzmacher <metze@samba.org>
Fri, 8 Oct 2010 08:19:07 +0000 (10:19 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 8 Oct 2010 09:53:08 +0000 (11:53 +0200)
commit9300f922ae570756651c6f9979dd3e490ce2fd4e
tree80c28679ad21112188a019933254029de9cd7c14
parenta3d44d5504e1aa2b9e2e5564f644512bf36c01ee
s4:lib/tls: buffer writes in tstream_tls_push_function()

This works arround bugs in gnutls_handshake(),
which diesn't handle EAGAIN correctly, when they use the
push function.

Thanks to Marcel.Ritter@rrze.uni-erlangen.de and
Matthieu Patou <mat@samba.org> for the debugging work
on bug #7218.

metze
source4/lib/tls/tls_tstream.c