We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d930825 + e072677 commit b334750Copy full SHA for b334750
1 file changed
wolfssl/internal.h
@@ -1560,7 +1560,6 @@ enum Misc {
1560
#endif
1561
SIZEOF_SENDER = 4, /* clnt or srvr */
1562
FINISHED_SZ = 36, /* WC_MD5_DIGEST_SIZE + WC_SHA_DIGEST_SIZE */
1563
- MAX_RECORD_SIZE = 16384, /* 2^14, max size by standard */
1564
MAX_PLAINTEXT_SZ = (1 << 14), /* Max plaintext sz */
1565
MAX_TLS_CIPHER_SZ = (1 << 14) + 2048, /* Max TLS encrypted data sz */
1566
#ifdef WOLFSSL_TLS13
@@ -2273,6 +2272,8 @@ enum {
2273
2272
2274
2275
/* determine maximum record size */
+#define MAX_RECORD_SIZE 16384 /* 2^14, max size by standard */
2276
+
2277
#ifdef RECORD_SIZE
2278
/* user supplied value */
2279
#if RECORD_SIZE < 128 || RECORD_SIZE > MAX_RECORD_SIZE
0 commit comments