mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-24 17:05:32 +00:00
Fix coding style issues
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
31520b4b1c
commit
9cfdf6ebe7
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue