mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-25 02:38:11 +00:00
Remove const indicator
This commit is contained in:
parent
874bd64b28
commit
93389cc620
1 changed files with 1 additions and 1 deletions
|
@ -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 ) &&
|
||||||
|
|
Loading…
Reference in a new issue