From 14beb08542f79eac1758876e55dca188dfce4591 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Tue, 8 Jul 2014 13:50:35 +0200 Subject: [PATCH] Fix missing const --- library/ssl_srv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ssl_srv.c b/library/ssl_srv.c index 67390988b..e647a9a43 100644 --- a/library/ssl_srv.c +++ b/library/ssl_srv.c @@ -667,7 +667,7 @@ static int ssl_parse_session_ticket_ext( ssl_context *ssl, #if defined(POLARSSL_SSL_ALPN) 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; const unsigned char *theirs, *start, *end;