Switch outbound back to handshake key after end_of_early_data
Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com>
This commit is contained in:
parent
bf09376bda
commit
da8402dde6
1 changed files with 4 additions and 0 deletions
|
@ -2185,6 +2185,10 @@ static int ssl_tls13_write_end_of_early_data(mbedtls_ssl_context *ssl)
|
|||
|
||||
MBEDTLS_SSL_PROC_CHK(
|
||||
mbedtls_ssl_finish_handshake_msg(ssl, buf_len, 0));
|
||||
|
||||
/* Switch outbound back to handshake key after end_of_early_data */
|
||||
mbedtls_ssl_set_outbound_transform(
|
||||
ssl, ssl->handshake->transform_handshake);
|
||||
}
|
||||
|
||||
MBEDTLS_SSL_PROC_CHK(
|
||||
|
|
Loading…
Reference in a new issue