mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-30 15:32:58 +00:00
tls13: generic: Fix log
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
dc81b7343f
commit
70eab45ba6
@ -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));
|
||||
|
||||
|
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user