mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-24 00:06:32 +01:00
Adapt uses of mbedtls_rsa_complete to removed PRNG argument
This commit is contained in:
parent
f9e184b9df
commit
7f25f850ac
9 changed files with 19 additions and 25 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue