Change parameter names and code style
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
This commit is contained in:
parent
5e3c947841
commit
9deb90f74e
1 changed files with 3 additions and 3 deletions
|
@ -691,11 +691,11 @@ static int ssl_tls13_parse_cookie_ext( mbedtls_ssl_context *ssl,
|
|||
static int ssl_tls13_write_cookie_ext( mbedtls_ssl_context *ssl,
|
||||
unsigned char *buf,
|
||||
unsigned char *end,
|
||||
size_t *olen )
|
||||
size_t *out_len )
|
||||
{
|
||||
unsigned char *p = buf;
|
||||
|
||||
*olen = 0;
|
||||
*out_len = 0;
|
||||
|
||||
if( ssl->handshake->verify_cookie == NULL )
|
||||
{
|
||||
|
@ -719,7 +719,7 @@ static int ssl_tls13_write_cookie_ext( mbedtls_ssl_context *ssl,
|
|||
/* Cookie */
|
||||
memcpy( p, ssl->handshake->verify_cookie, ssl->handshake->verify_cookie_len );
|
||||
|
||||
*olen = ssl->handshake->verify_cookie_len + 6;
|
||||
*out_len = ssl->handshake->verify_cookie_len + 6;
|
||||
|
||||
return( 0 );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue