mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-02 07:51:10 +00:00
Don't explicitly dereference function pointers
Be stylistically consistent.
This commit is contained in:
parent
60450a4812
commit
2e0f388d2a
|
@ -1231,7 +1231,7 @@ static psa_status_t psa_internal_export_key( const psa_key_slot_t *slot,
|
|||
drv->key_management->p_export );
|
||||
if( method == NULL )
|
||||
return( PSA_ERROR_NOT_SUPPORTED );
|
||||
return( ( *method )( drv_context,
|
||||
return( method( drv_context,
|
||||
slot->data.se.slot_number,
|
||||
data, data_size, data_length ) );
|
||||
}
|
||||
|
|
|
@ -211,7 +211,7 @@ psa_status_t psa_find_se_slot_for_key(
|
|||
if( p_allocate == NULL )
|
||||
return( PSA_ERROR_NOT_SUPPORTED );
|
||||
|
||||
status = ( *p_allocate )( &driver->context,
|
||||
status = p_allocate( &driver->context,
|
||||
driver->internal.persistent_data,
|
||||
attributes,
|
||||
slot_number );
|
||||
|
|
Loading…
Reference in a new issue