mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-11-09 14:50:17 +08:00
Improve a test assertion
That way if it ever fails it will print the values. Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
parent
29073e3a00
commit
8476c38b21
@ -5092,7 +5092,7 @@ void inject_client_content_on_the_wire(int pk_alg,
|
||||
|
||||
/* Send the crafted message */
|
||||
ret = mbedtls_test_mock_tcp_send_b(&client.socket, data->x, data->len);
|
||||
TEST_ASSERT(ret >= 0 && (size_t) ret == data->len);
|
||||
TEST_EQUAL(ret, (int) data->len);
|
||||
|
||||
/* Have the server process it.
|
||||
* Need the loop because a server that support 1.3 and 1.2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user