mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-09-13 18:47:03 +00:00
psa_crypto_init: set the global initialized flag
This commit is contained in:
parent
609b6a5b67
commit
e4ebc12fcd
|
@ -1288,6 +1288,8 @@ psa_status_t psa_crypto_init( void )
|
||||||
if( ret != 0 )
|
if( ret != 0 )
|
||||||
goto exit;
|
goto exit;
|
||||||
|
|
||||||
|
global_data.initialized = 1;
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
if( ret != 0 )
|
if( ret != 0 )
|
||||||
mbedtls_psa_crypto_free( );
|
mbedtls_psa_crypto_free( );
|
||||||
|
|
Loading…
Reference in a new issue