summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2010-11-18 10:35:06 +0300
committerStefan Metzmacher <metze@samba.org>2010-12-04 12:12:21 +0100
commita42ccab929766702029f624f5cc18bc034889c29 (patch)
tree7d2d1c4671848056198b78e1c5d14f804eec397a /source4/lib
parent14d3027458dc3831330e316e9de1cc71b73c9c5b (diff)
downloadsamba-a42ccab929766702029f624f5cc18bc034889c29.tar.gz
samba-a42ccab929766702029f624f5cc18bc034889c29.tar.bz2
samba-a42ccab929766702029f624f5cc18bc034889c29.zip
tls_tstream: increase the buffer size
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>
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/tls/tls_tstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/tls/tls_tstream.c b/source4/lib/tls/tls_tstream.c
index 8e80454d57..4086fd96a5 100644
--- a/source4/lib/tls/tls_tstream.c
+++ b/source4/lib/tls/tls_tstream.c
@@ -50,7 +50,7 @@ struct tstream_tls {
struct tevent_immediate *retry_im;
struct {
- uint8_t buffer[1024];
+ uint8_t buffer[4096];
off_t ofs;
struct iovec iov;
struct tevent_req *subreq;