From 54049c6000bcf25897b83dfc50a03461a158c66a Mon Sep 17 00:00:00 2001 From: toddouska Date: Tue, 7 Oct 2014 15:50:33 -0700 Subject: [PATCH] allow dhe 4096bit for ssl key exchange --- cyassl/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cyassl/internal.h b/cyassl/internal.h index 038e33011..7ad35d7ca 100644 --- a/cyassl/internal.h +++ b/cyassl/internal.h @@ -649,7 +649,7 @@ enum Misc { MAX_COMP_EXTRA = 1024, /* max compression extra */ MAX_MTU = 1500, /* max expected MTU */ MAX_UDP_SIZE = 8192 - 100, /* was MAX_MTU - 100 */ - MAX_DH_SZ = 612, /* 2240 p, pub, g + 2 byte size for each */ + MAX_DH_SZ = 1036, /* 4096 p, pub, g + 2 byte size for each */ MAX_STR_VERSION = 8, /* string rep of protocol version */ PAD_MD5 = 48, /* pad length for finished */