1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

ssl: Add early_data_count field

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
Ronald Cron
2024-02-23 08:23:40 +01:00
parent 5d3036e6d5
commit 26a9811027
2 changed files with 5 additions and 1 deletions

View File

@ -1105,6 +1105,7 @@ static int ssl_handshake_init(mbedtls_ssl_context *ssl)
#if defined(MBEDTLS_SSL_SRV_C)
ssl->discard_early_data_record = MBEDTLS_SSL_EARLY_DATA_NO_DISCARD;
#endif
ssl->early_data_count = 0;
#endif /* MBEDTLS_SSL_EARLY_DATA */
/* Initialize structures */