1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-20 16:42:59 +03:00

Mark ssl_parse_record_header() as const in SSL context

This commit is contained in:
Hanno Becker
2019-07-12 11:10:16 +01:00
parent 47be7686ab
commit 331de3df9a

View File

@ -4892,7 +4892,7 @@ static int ssl_check_record_type( uint8_t record_type )
* Point 2 is needed when the peer is resending, and we have already received
* the first record from a datagram but are still waiting for the others.
*/
static int ssl_parse_record_header( mbedtls_ssl_context *ssl,
static int ssl_parse_record_header( mbedtls_ssl_context const *ssl,
unsigned char *buf,
size_t len,
mbedtls_record *rec )