tls: psa_pake: add missing braces
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
This commit is contained in:
parent
79f6b6bb1b
commit
5151bdf46e
1 changed files with 2 additions and 0 deletions
|
@ -2354,7 +2354,9 @@ start_processing:
|
|||
|
||||
if( ( *p != MBEDTLS_ECP_TLS_NAMED_CURVE ) ||
|
||||
( read_tls_id != curve_info->tls_id ) )
|
||||
{
|
||||
return( MBEDTLS_ERR_SSL_ILLEGAL_PARAMETER );
|
||||
}
|
||||
|
||||
p += 3;
|
||||
|
||||
|
|
Loading…
Reference in a new issue