b657783269
These fields might be shifted accordingly in `ssl_parse_record_header()` when receiving a connection with CID, so they require a manual update after calling the generic `mbedtls_ssl_reset_in_out_pointers()`. This commit also adds a regression test which is run by all.sh. Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
5 lines
269 B
Text
5 lines
269 B
Text
Bugfix
|
|
* Update iv and len context pointers manually when reallocating buffers
|
|
using the MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH feature. This caused issues
|
|
when receiving a connection with CID, when these fields were shifted
|
|
in ssl_parse_record_header().
|