mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Fix two warnings from armcc v5
assignment in condition
This commit is contained in:
@ -345,7 +345,7 @@ static int pk_group_from_specified( const asn1_buf *params, ecp_group *grp )
|
||||
/*
|
||||
* order INTEGER
|
||||
*/
|
||||
if( ( ret = asn1_get_mpi( &p, end, &grp->N ) ) )
|
||||
if( ( ret = asn1_get_mpi( &p, end, &grp->N ) ) != 0 )
|
||||
return( POLARSSL_ERR_PK_KEY_INVALID_FORMAT + ret );
|
||||
|
||||
grp->nbits = mpi_msb( &grp->N );
|
||||
|
Reference in New Issue
Block a user