mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-06-13 21:35:29 +00:00
Fix backporting mistakes in previous 5 commits
This commit is contained in:
parent
40510a3a79
commit
faae6d2019
|
@ -889,7 +889,7 @@ int mpi_add_abs( mpi *X, const mpi *A, const mpi *B )
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
size_t i, j;
|
size_t i, j;
|
||||||
mpi_uint *o, *p, c, tmp;
|
t_uint *o, *p, c, tmp;
|
||||||
|
|
||||||
if( X == B )
|
if( X == B )
|
||||||
{
|
{
|
||||||
|
@ -934,14 +934,6 @@ int mpi_add_abs( mpi *X, const mpi *A, const mpi *B )
|
||||||
}
|
}
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
<<<<<<< HEAD
|
|
||||||
if( &TB == B )
|
|
||||||
{
|
|
||||||
mpi_free( &TB );
|
|
||||||
}
|
|
||||||
=======
|
|
||||||
>>>>>>> 6c9226809370... Improved on the previous fix and added a test case to cover both types
|
|
||||||
|
|
||||||
return( ret );
|
return( ret );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue