Refine code to remove finalize_write_end_of_early_data()
Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com>
This commit is contained in:
parent
7094f66879
commit
19d4416a45
1 changed files with 1 additions and 12 deletions
|
@ -2149,16 +2149,6 @@ cleanup:
|
|||
* Finished. Otherwise, the client MUST NOT send an EndOfEarlyData message.
|
||||
*/
|
||||
|
||||
MBEDTLS_CHECK_RETURN_CRITICAL
|
||||
static int ssl_tls13_finalize_write_end_of_early_data(
|
||||
mbedtls_ssl_context *ssl)
|
||||
{
|
||||
|
||||
mbedtls_ssl_handshake_set_state(ssl, MBEDTLS_SSL_CLIENT_CERTIFICATE);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
MBEDTLS_CHECK_RETURN_CRITICAL
|
||||
static int ssl_tls13_write_end_of_early_data(mbedtls_ssl_context *ssl)
|
||||
{
|
||||
|
@ -2180,8 +2170,7 @@ static int ssl_tls13_write_end_of_early_data(mbedtls_ssl_context *ssl)
|
|||
mbedtls_ssl_set_outbound_transform(
|
||||
ssl, ssl->handshake->transform_handshake);
|
||||
|
||||
MBEDTLS_SSL_PROC_CHK(
|
||||
ssl_tls13_finalize_write_end_of_early_data(ssl));
|
||||
mbedtls_ssl_handshake_set_state(ssl, MBEDTLS_SSL_CLIENT_CERTIFICATE);
|
||||
|
||||
cleanup:
|
||||
|
||||
|
|
Loading…
Reference in a new issue