diff --git a/include/cyassl_int.h b/include/cyassl_int.h index 91c0b0b15..8dcdfcf9a 100644 --- a/include/cyassl_int.h +++ b/include/cyassl_int.h @@ -265,7 +265,7 @@ enum Misc { NO_COMPRESSION = 0, ZLIB_COMPRESSION = 221, /* CyaSSL zlib compression */ SECRET_LEN = 48, /* pre RSA and all master */ - ENCRYPT_LEN = 256, /* allow 2048 bit static buffer */ + ENCRYPT_LEN = 512, /* allow 4096 bit static buffer */ SIZEOF_SENDER = 4, /* clnt or srvr */ FINISHED_SZ = MD5_DIGEST_SIZE + SHA_DIGEST_SIZE, MAX_RECORD_SIZE = 16384, /* 2^14, max size by standard */