mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-15 23:42:41 +00:00
Bugfix
* In TLS 1.3 clients, fix an interoperability problem due to the client generating a new random after a HelloRetryRequest. Fixes #8669. Signed-off-by: BensonLiou <momo1208@gmail.com>
This commit is contained in:
commit
719c2ed9cb
@ -3988,7 +3988,7 @@ void tls13_cli_early_data_state(int scenario)
|
||||
if (!client_ep.ssl.handshake->hello_retry_request_flag) {
|
||||
TEST_EQUAL(client_ep.ssl.early_data_state,
|
||||
MBEDTLS_SSL_EARLY_DATA_STATE_CAN_WRITE);
|
||||
memcpy(client_random,
|
||||
memcpy(client_random,
|
||||
client_ep.ssl.handshake->randbytes,
|
||||
MBEDTLS_CLIENT_HELLO_RANDOM_LEN);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user