Adapt uses of mbedtls_rsa_complete to removed PRNG argument

This commit is contained in:
Hanno Becker 2017-10-10 16:56:22 +01:00
parent f9e184b9df
commit 7f25f850ac
9 changed files with 19 additions and 25 deletions

View file

@ -149,8 +149,7 @@ int main( void )
goto exit;
}
if( ( ret = mbedtls_rsa_complete( &rsa, mbedtls_ctr_drbg_random,
&ctr_drbg ) ) != 0 )
if( ( ret = mbedtls_rsa_complete( &rsa ) ) != 0 )
{
mbedtls_printf( " failed\n ! mbedtls_rsa_complete returned %d\n\n",
ret );