mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-24 23:01:11 +00:00
Fix backporting errors
This commit is contained in:
parent
3682db5efd
commit
139708d105
|
@ -398,12 +398,9 @@ int rsa_private( rsa_context *ctx,
|
|||
mpi *DQ = &ctx->DQ;
|
||||
#endif
|
||||
|
||||
mpi_init( &T ); mpi_init( &T1 ); mpi_init( &T2 );
|
||||
|
||||
mpi_init( &T ); mpi_init( &T1 ); mpi_init( &T2 );
|
||||
mpi_init( &P1 ); mpi_init( &Q1 ); mpi_init( &R );
|
||||
|
||||
|
||||
if( f_rng != NULL )
|
||||
{
|
||||
#if defined(POLARSSL_RSA_NO_CRT)
|
||||
|
@ -414,9 +411,8 @@ int rsa_private( rsa_context *ctx,
|
|||
#endif
|
||||
}
|
||||
|
||||
|
||||
#if defined(POLARSSL_THREADING_C)
|
||||
if( ( ret = mutex_lock( &ctx->mutex ) ) != 0 )
|
||||
if( ( ret = polarssl_mutex_lock( &ctx->mutex ) ) != 0 )
|
||||
return( ret );
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue