mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-08-10 21:27:50 +00:00
Fix finished message decryption fail issue
Signed-off-by: XiaokangQian <[email protected]>
This commit is contained in:
@@ -1328,6 +1328,7 @@ static int ssl_tls13_finalize_server_hello( mbedtls_ssl_context *ssl )
|
||||
|
||||
handshake->transform_handshake = transform_handshake;
|
||||
mbedtls_ssl_set_inbound_transform( ssl, transform_handshake );
|
||||
mbedtls_ssl_set_outbound_transform( ssl, ssl->handshake->transform_handshake );
|
||||
|
||||
MBEDTLS_SSL_DEBUG_MSG( 1, ( "Switch to handshake keys for inbound traffic" ) );
|
||||
ssl->session_in = ssl->session_negotiate;
|
||||
|
||||
Reference in New Issue
Block a user