tls13: generic: Fix log

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
Ronald Cron 2024-02-26 15:50:15 +01:00
parent dc81b7343f
commit 70eab45ba6
2 changed files with 2 additions and 2 deletions

View File

@ -1480,7 +1480,7 @@ int mbedtls_ssl_tls13_check_early_data_len(mbedtls_ssl_context *ssl,
ssl->early_data_count)) {
MBEDTLS_SSL_DEBUG_MSG(
2, ("EarlyData: Too many early data received, %u > %u",
2, ("EarlyData: Too much early data received, %u > %u",
ssl->early_data_count + uint32_early_data_len,
ssl->session_negotiate->max_early_data_size));

View File

@ -4673,7 +4673,7 @@ void tls13_srv_max_early_data_size(int scenario, int max_early_data_size_arg, in
TEST_EQUAL(ret, early_data_len);
ret = mbedtls_snprintf(pattern, sizeof(pattern),
"EarlyData: Too many early data received");
"EarlyData: Too much early data received");
TEST_ASSERT(ret < (int) sizeof(pattern));
ret = mbedtls_ssl_handshake(&(server_ep.ssl));