tests: write early data: Improve get_early_data_status testing
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
f19989da31
commit
dcb09ca6df
1 changed files with 3 additions and 0 deletions
|
@ -4110,6 +4110,9 @@ void tls13_cli_early_data_status(int scenario)
|
||||||
TEST_FAIL("Unknown scenario.");
|
TEST_FAIL("Unknown scenario.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ret = mbedtls_ssl_get_early_data_status(&(server_ep.ssl));
|
||||||
|
TEST_EQUAL(ret, MBEDTLS_ERR_SSL_BAD_INPUT_DATA);
|
||||||
|
|
||||||
#if defined(MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE)
|
#if defined(MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE)
|
||||||
TEST_EQUAL(client_ep.ssl.handshake->ccs_sent, 1);
|
TEST_EQUAL(client_ep.ssl.handshake->ccs_sent, 1);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue