mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 23:25:44 +01:00
fix for issue 1101: missing rsa context initialization
added mbedtls_rsa_init in rsa_decrypt sample application
This commit is contained in:
parent
c60c31226f
commit
78011d9656
@ -86,6 +86,7 @@ int main( int argc, char *argv[] )
|
||||
mbedtls_printf( "\n . Seeding the random number generator..." );
|
||||
fflush( stdout );
|
||||
|
||||
mbedtls_rsa_init( &rsa, MBEDTLS_RSA_PKCS_V15, 0 );
|
||||
mbedtls_ctr_drbg_init( &ctr_drbg );
|
||||
mbedtls_entropy_init( &entropy );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user