adjust indentation per Mbed TLS standards
This commit is contained in:
parent
d732659867
commit
cceea98bfe
1 changed files with 3 additions and 2 deletions
|
@ -474,7 +474,8 @@ static psa_status_t psa_internal_export_key(psa_key_slot_t key,
|
||||||
if( !( slot->policy.usage & PSA_KEY_USAGE_EXPORT ) )
|
if( !( slot->policy.usage & PSA_KEY_USAGE_EXPORT ) )
|
||||||
return( PSA_ERROR_NOT_PERMITTED );
|
return( PSA_ERROR_NOT_PERMITTED );
|
||||||
|
|
||||||
if( ( export_public_key ) && ( !( PSA_KEY_TYPE_IS_PUBLIC_KEY( slot->type ) || PSA_KEY_TYPE_IS_KEYPAIR( slot->type ) ) ) )
|
if( ( export_public_key ) && ( !( PSA_KEY_TYPE_IS_PUBLIC_KEY( slot->type )
|
||||||
|
|| PSA_KEY_TYPE_IS_KEYPAIR( slot->type ) ) ) )
|
||||||
return( PSA_ERROR_INVALID_ARGUMENT );
|
return( PSA_ERROR_INVALID_ARGUMENT );
|
||||||
|
|
||||||
if( PSA_KEY_TYPE_IS_RAW_BYTES( slot->type ) )
|
if( PSA_KEY_TYPE_IS_RAW_BYTES( slot->type ) )
|
||||||
|
|
Loading…
Reference in a new issue