Commit 93389cc6 authored by Paul Bakker's avatar Paul Bakker
Browse files

Remove const indicator

parent 874bd64b
...@@ -2723,7 +2723,7 @@ int ssl_parse_certificate( ssl_context *ssl ) ...@@ -2723,7 +2723,7 @@ int ssl_parse_certificate( ssl_context *ssl )
#if defined(POLARSSL_SSL_SET_CURVES) #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 certificate uses an EC key, make sure the curve is OK */
if( pk_can_do( pk, POLARSSL_PK_ECKEY ) && if( pk_can_do( pk, POLARSSL_PK_ECKEY ) &&
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment