mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-03-23 07:15:08 +00:00
remove usless cast
This commit is contained in:
parent
f08a550e68
commit
95893f834d
|
@ -1521,7 +1521,7 @@ psa_status_t psa_aead_encrypt( psa_key_slot_t key,
|
||||||
mbedtls_gcm_context gcm;
|
mbedtls_gcm_context gcm;
|
||||||
mbedtls_gcm_init( &gcm );
|
mbedtls_gcm_init( &gcm );
|
||||||
ret = mbedtls_gcm_setkey( &gcm, cipher_id,
|
ret = mbedtls_gcm_setkey( &gcm, cipher_id,
|
||||||
( const unsigned char * )slot->data.raw.data,
|
slot->data.raw.data,
|
||||||
key_bits );
|
key_bits );
|
||||||
if( ret != 0 )
|
if( ret != 0 )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue