mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-03-23 22:45:22 +00:00
Mark ssl_parse_record_header() as const
in SSL context
This commit is contained in:
parent
c360dcc679
commit
21fc61c7a7
|
@ -4723,7 +4723,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
|
* 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.
|
* 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,
|
unsigned char *buf,
|
||||||
size_t len,
|
size_t len,
|
||||||
mbedtls_record *rec )
|
mbedtls_record *rec )
|
||||||
|
|
Loading…
Reference in a new issue