mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-04-04 14:08:39 +00:00
Merge pull request #7455 from KloolK/record-size-limit/comply-with-limit
Comply with the received Record Size Limit extension
This commit is contained in:
commit
3a6059beca
11 changed files with 293 additions and 57 deletions
|
|
@ -3521,7 +3521,7 @@ handshake:
|
|||
mbedtls_printf(" [ Record expansion is unknown ]\n");
|
||||
}
|
||||
|
||||
#if defined(MBEDTLS_SSL_MAX_FRAGMENT_LENGTH)
|
||||
#if defined(MBEDTLS_SSL_MAX_FRAGMENT_LENGTH) || defined(MBEDTLS_SSL_RECORD_SIZE_LIMIT)
|
||||
mbedtls_printf(" [ Maximum incoming record payload length is %u ]\n",
|
||||
(unsigned int) mbedtls_ssl_get_max_in_record_payload(&ssl));
|
||||
mbedtls_printf(" [ Maximum outgoing record payload length is %u ]\n",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue