mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-08-26 04:59:52 +00:00
Add minor cosmetic changes to record size limit changelog and comments
Signed-off-by: Waleed Elmelegy <[email protected]>
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
Features
|
Features
|
||||||
* Add support for Record Size Limit extension as defined by RFC 8449
|
* Add support for record size limit extension as defined by RFC 8449
|
||||||
and configured with MBEDTLS_SSL_RECORD_SIZE_LIMIT.
|
and configured with MBEDTLS_SSL_RECORD_SIZE_LIMIT.
|
||||||
Application data sent and received will be fragmented according to
|
Application data sent and received will be fragmented according to
|
||||||
Record size limits negotiated during handshake.
|
Record size limits negotiated during handshake.
|
||||||
|
|||||||
+1
-2
@@ -2704,8 +2704,7 @@ int mbedtls_ssl_parse_server_name_ext(mbedtls_ssl_context *ssl,
|
|||||||
|
|
||||||
#if defined(MBEDTLS_SSL_RECORD_SIZE_LIMIT)
|
#if defined(MBEDTLS_SSL_RECORD_SIZE_LIMIT)
|
||||||
#define MBEDTLS_SSL_RECORD_SIZE_LIMIT_EXTENSION_DATA_LENGTH (2)
|
#define MBEDTLS_SSL_RECORD_SIZE_LIMIT_EXTENSION_DATA_LENGTH (2)
|
||||||
/* This value is defined by RFC 8449 */
|
#define MBEDTLS_SSL_RECORD_SIZE_LIMIT_MIN (64) /* As defined in RFC 8449 */
|
||||||
#define MBEDTLS_SSL_RECORD_SIZE_LIMIT_MIN (64)
|
|
||||||
|
|
||||||
MBEDTLS_CHECK_RETURN_CRITICAL
|
MBEDTLS_CHECK_RETURN_CRITICAL
|
||||||
int mbedtls_ssl_tls13_parse_record_size_limit_ext(mbedtls_ssl_context *ssl,
|
int mbedtls_ssl_tls13_parse_record_size_limit_ext(mbedtls_ssl_context *ssl,
|
||||||
|
|||||||
Reference in New Issue
Block a user