mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-24 05:00:45 -04: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
f4a67cf892
commit
47d0b796af
@ -5068,7 +5068,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