Remove redundant code in mbedtls_mpi_cmp_abs
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
fa703e38a2
commit
ebcd78561c
1 changed files with 2 additions and 3 deletions
|
@ -817,9 +817,8 @@ int mbedtls_mpi_cmp_abs(const mbedtls_mpi *X, const mbedtls_mpi *Y)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (i == 0 && j == 0) {
|
/* If i == j == 0, i.e. abs(X) == abs(Y),
|
||||||
return 0;
|
* we end up returning 0 at the end of the function. */
|
||||||
}
|
|
||||||
|
|
||||||
if (i > j) {
|
if (i > j) {
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue