tls13: client: Improve coding style
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
70ed41754d
commit
083da8eb53
1 changed files with 2 additions and 2 deletions
|
@ -736,7 +736,7 @@ static int ssl_tls13_psk_get_identity( mbedtls_ssl_context *ssl,
|
|||
size_t *identity_len )
|
||||
{
|
||||
|
||||
if( !mbedtls_ssl_conf_has_static_psk( ssl->conf ) )
|
||||
if( ! mbedtls_ssl_conf_has_static_psk( ssl->conf ) )
|
||||
return( -1 );
|
||||
|
||||
*hash_alg = PSA_ALG_SHA_256;
|
||||
|
@ -752,7 +752,7 @@ static int ssl_tls13_psk_get_psk( mbedtls_ssl_context *ssl,
|
|||
size_t *psk_len )
|
||||
{
|
||||
|
||||
if( !mbedtls_ssl_conf_has_static_psk( ssl->conf ) )
|
||||
if( ! mbedtls_ssl_conf_has_static_psk( ssl->conf ) )
|
||||
return( -1 );
|
||||
|
||||
*hash_alg = PSA_ALG_SHA_256;
|
||||
|
|
Loading…
Reference in a new issue