mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-05-11 09:22:05 +08:00
Fix code style
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
parent
ce1d792315
commit
338b61d6e4
@ -3176,7 +3176,8 @@ curve_matching_done:
|
|||||||
- ssl->out_msglen - header_size );
|
- ssl->out_msglen - header_size );
|
||||||
|
|
||||||
status = psa_export_public_key( handshake->ecdh_psa_privkey,
|
status = psa_export_public_key( handshake->ecdh_psa_privkey,
|
||||||
own_pubkey, own_pubkey_max_len, &len );
|
own_pubkey, own_pubkey_max_len,
|
||||||
|
&len );
|
||||||
if( status != PSA_SUCCESS )
|
if( status != PSA_SUCCESS )
|
||||||
{
|
{
|
||||||
ret = psa_ssl_status_to_mbedtls( status );
|
ret = psa_ssl_status_to_mbedtls( status );
|
||||||
@ -3930,7 +3931,6 @@ static int ssl_parse_client_key_exchange( mbedtls_ssl_context *ssl )
|
|||||||
handshake->ecdh_psa_privkey = MBEDTLS_SVC_KEY_ID_INIT;
|
handshake->ecdh_psa_privkey = MBEDTLS_SVC_KEY_ID_INIT;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
||||||
#endif /* MBEDTLS_USE_PSA_CRYPTO &&
|
#endif /* MBEDTLS_USE_PSA_CRYPTO &&
|
||||||
( MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED ||
|
( MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED ||
|
||||||
MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED ) */
|
MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED ) */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user