mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-07-30 16:26:33 +08:00
dtls: Improve comment
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
7a50711061
commit
82be755414
@ -6510,8 +6510,8 @@ static void ssl_buffering_shift_slots(mbedtls_ssl_context *ssl,
|
||||
}
|
||||
|
||||
/* Reset the remaining entries at the end. It may have been already
|
||||
* partially done by the loop freing the discarded entries but that is
|
||||
* simpler and safer.
|
||||
* done for the first ones by the loop freing the discarded entries but
|
||||
* that is simpler and safer.
|
||||
*/
|
||||
for (; offset < MBEDTLS_SSL_MAX_BUFFERED_HS; offset++) {
|
||||
memset(&hs->buffering.hs[offset], 0, sizeof(hs->buffering.hs[offset]));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user