mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 22:35:47 +01:00
Remove const indicator
This commit is contained in:
parent
874bd64b28
commit
93389cc620
@ -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 New Issue
Block a user