Fix missing const

This commit is contained in:
Manuel Pégourié-Gonnard 2014-07-08 13:50:35 +02:00
parent ba782bbc4b
commit 14beb08542

View file

@ -667,7 +667,7 @@ static int ssl_parse_session_ticket_ext( ssl_context *ssl,
#if defined(POLARSSL_SSL_ALPN) #if defined(POLARSSL_SSL_ALPN)
static int ssl_parse_alpn_ext( ssl_context *ssl, static int ssl_parse_alpn_ext( ssl_context *ssl,
unsigned char *buf, size_t len ) const unsigned char *buf, size_t len )
{ {
size_t list_len, cur_len, ours_len; size_t list_len, cur_len, ours_len;
const unsigned char *theirs, *start, *end; const unsigned char *theirs, *start, *end;