mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Fix checksum computation with HelloVerifyRequest
This commit is contained in:
committed by
Paul Bakker
parent
74848811b4
commit
67427c07b2
@ -955,7 +955,9 @@ static int ssl_parse_hello_verify_request( ssl_context *ssl )
|
||||
memcpy( ssl->handshake->verify_cookie, p, cookie_len );
|
||||
ssl->handshake->verify_cookie_len = cookie_len;
|
||||
|
||||
/* Start over at ClientHello */
|
||||
ssl->state = SSL_CLIENT_HELLO;
|
||||
ssl_reset_checksum( ssl );
|
||||
|
||||
SSL_DEBUG_MSG( 2, ( "<= parse hello verify request" ) );
|
||||
|
||||
|
Reference in New Issue
Block a user