mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Fix indentation issues
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
@ -5306,11 +5306,11 @@ static psa_status_t psa_tls12_prf_psk_to_ms_set_key(
|
||||
* - RFC 5489 for the definition of ECDHE-PSK.
|
||||
*/
|
||||
|
||||
if ( prf->state == PSA_TLS12_PRF_STATE_OTHER_KEY_SET )
|
||||
if( prf->state == PSA_TLS12_PRF_STATE_OTHER_KEY_SET )
|
||||
{
|
||||
*cur++ = MBEDTLS_BYTE_1( prf->other_secret_length );
|
||||
*cur++ = MBEDTLS_BYTE_0( prf->other_secret_length );
|
||||
if ( prf->other_secret_length != 0 )
|
||||
if( prf->other_secret_length != 0 )
|
||||
{
|
||||
memcpy( cur, prf->other_secret, prf->other_secret_length );
|
||||
mbedtls_platform_zeroize( prf->other_secret, prf->other_secret_length );
|
||||
|
Reference in New Issue
Block a user