1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +03:00

Misc minor fixes

- avoid "multi-line comment" warning in ssl_client2.c
- rm useless initialisation of mfl_code in ssl_init()
- const-correctness of ssl_parse_*_ext()
- a code formating issue
This commit is contained in:
Manuel Pégourié-Gonnard
2013-07-19 12:47:00 +02:00
parent 0c017a55e0
commit e048b67d0a
5 changed files with 9 additions and 9 deletions

View File

@ -488,7 +488,7 @@ static int ssl_write_client_hello( ssl_context *ssl )
}
static int ssl_parse_renegotiation_info( ssl_context *ssl,
unsigned char *buf,
const unsigned char *buf,
size_t len )
{
int ret;
@ -527,7 +527,7 @@ static int ssl_parse_renegotiation_info( ssl_context *ssl,
return( 0 );
}
static int ssl_parse_max_fragment_length_ext( ssl_context *ssl,
unsigned char *buf,
const unsigned char *buf,
size_t len )
{
/*