Remove const indicator

This commit is contained in:
Paul Bakker 2014-04-17 14:44:38 +02:00
parent 874bd64b28
commit 93389cc620

View File

@ -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 ) &&