From 93389cc620c0db850b194e53d93dde54af807b0d Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Thu, 17 Apr 2014 14:44:38 +0200
Subject: [PATCH] Remove const indicator
---
library/ssl_tls.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/library/ssl_tls.c b/library/ssl_tls.c
index 3f0cd6da0..116bc5cf4 100644
--- a/library/ssl_tls.c
+++ b/library/ssl_tls.c
@@ -2723,7 +2723,7 @@ int ssl_parse_certificate( ssl_context *ssl )
#if defined(POLARSSL_SSL_SET_CURVES)
{
- const pk_context *pk = &ssl->session_negotiate->peer_cert->pk;
+ pk_context *pk = &ssl->session_negotiate->peer_cert->pk;
/* If certificate uses an EC key, make sure the curve is OK */
if( pk_can_do( pk, POLARSSL_PK_ECKEY ) &&