The problem is that with certain version of gnutls are not working
properly if the server is sending in different packet things like (at
least)
* Certificate
* Server Key exchange
* Client certificate
Somehow it really expect this to be done in one packet as some
structures used _gnutls_send_handshake are reinitialized at every
packet exchange and intermediate steps didn't expect it
Signed-off-by: Stefan Metzmacher <metze@samba.org>
struct tevent_immediate *retry_im;
struct {
- uint8_t buffer[1024];
+ uint8_t buffer[4096];
off_t ofs;
struct iovec iov;
struct tevent_req *subreq;