Commit dbe8316e authored by Ron Eldor's avatar Ron Eldor Committed by Simon Butcher

fix for issue 1101: missing rsa context initialization

added mbedtls_rsa_init in rsa_decrypt sample application
parent 2382816a
......@@ -88,6 +88,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 );
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment