ref: 9e196fd0e2771dcccf35cd5c4e17a6971b956706
parent: 5635ac3f68d853eff736bc715c89c81c362d39e1
author: cinap_lenrek <[email protected]>
date: Fri Jul 24 02:18:59 EDT 2015
libsec: increase handshake message buffer size (MaxChunk) to 32K (thanks sl) _sl → webfs doesn't like packetfire.org: '/mnt/web/body' 0 No status tls: local handshake message too long 30781 16384
--- a/sys/src/libsec/port/tlshand.c
+++ b/sys/src/libsec/port/tlshand.c
@@ -18,7 +18,7 @@
TLSFinishedLen = 12,
SSL3FinishedLen = MD5dlen+SHA1dlen,
MaxKeyData = 136, // amount of secret we may need
- MaxChunk = 1<<14,
+ MaxChunk = 1<<15,
RandomSize = 32,
SidSize = 32,
MasterSecretSize = 48,