mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Refactor cookie members of handshake struct
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
@ -524,8 +524,8 @@ static int ssl_write_client_hello_body( mbedtls_ssl_context *ssl,
|
||||
{
|
||||
MBEDTLS_SSL_DEBUG_BUF( 3, "client hello, cookie",
|
||||
handshake->cookie,
|
||||
handshake->verify_cookie_len );
|
||||
cookie_len = handshake->verify_cookie_len;
|
||||
handshake->cookie_len );
|
||||
cookie_len = handshake->cookie_len;
|
||||
}
|
||||
|
||||
MBEDTLS_SSL_CHK_BUF_PTR( p, end, cookie_len + 1 );
|
||||
|
Reference in New Issue
Block a user