1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +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

@ -2843,8 +2843,6 @@ int ssl_init( ssl_context *ssl )
memset( ssl-> in_ctr, 0, SSL_BUFFER_LEN );
memset( ssl->out_ctr, 0, SSL_BUFFER_LEN );
ssl->mfl_code = SSL_MAX_FRAG_LEN_NONE;
ssl->hostname = NULL;
ssl->hostname_len = 0;