Fix coding style issues

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
Ronald Cron 2021-01-18 11:58:39 +01:00
parent 31520b4b1c
commit 9cfdf6ebe7

View file

@ -501,7 +501,9 @@ psa_status_t psa_driver_wrapper_export_key(
{ {
if( ( drv->key_management == NULL ) || if( ( drv->key_management == NULL ) ||
( drv->key_management->p_export == NULL ) ) ( drv->key_management->p_export == NULL ) )
{
return( PSA_ERROR_NOT_SUPPORTED ); return( PSA_ERROR_NOT_SUPPORTED );
}
return( drv->key_management->p_export( return( drv->key_management->p_export(
drv_context, drv_context,
@ -557,7 +559,9 @@ psa_status_t psa_driver_wrapper_export_public_key(
{ {
if( ( drv->key_management == NULL ) || if( ( drv->key_management == NULL ) ||
( drv->key_management->p_export_public == NULL ) ) ( drv->key_management->p_export_public == NULL ) )
{
return( PSA_ERROR_NOT_SUPPORTED ); return( PSA_ERROR_NOT_SUPPORTED );
}
return( drv->key_management->p_export_public( return( drv->key_management->p_export_public(
drv_context, drv_context,