mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-10-17 14:27:25 +00:00
Refactor cookie members of handshake struct
Signed-off-by: Jerry Yu <[email protected]>
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