Add record size checking during handshake
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
This commit is contained in:
parent
f482dcc6c7
commit
9aec1c71f2
6 changed files with 79 additions and 58 deletions
|
@ -1188,7 +1188,7 @@ struct mbedtls_ssl_session {
|
|||
unsigned char MBEDTLS_PRIVATE(mfl_code); /*!< MaxFragmentLength negotiated by peer */
|
||||
#endif /* MBEDTLS_SSL_MAX_FRAGMENT_LENGTH */
|
||||
|
||||
/*!< Record Size Limit for outgoing data requested by peer */
|
||||
/*!< RecordSizeLimit received by peer */
|
||||
#if defined(MBEDTLS_SSL_RECORD_SIZE_LIMIT)
|
||||
uint16_t MBEDTLS_PRIVATE(record_size_limit);
|
||||
#endif /* MBEDTLS_SSL_RECORD_SIZE_LIMIT */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue