projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[MBEDTLS] Update to version 2.7.12. CORE-16440
[reactos.git]
/
dll
/
3rdparty
/
mbedtls
/
bignum.c
diff --git
a/dll/3rdparty/mbedtls/bignum.c
b/dll/3rdparty/mbedtls/bignum.c
index
a7e3e5f
..
62314c5
100644
(file)
--- a/
dll/3rdparty/mbedtls/bignum.c
+++ b/
dll/3rdparty/mbedtls/bignum.c
@@
-2140,7
+2140,8
@@
static int mpi_miller_rabin( const mbedtls_mpi *X, size_t rounds,
}
if (count++ > 30) {
- return MBEDTLS_ERR_MPI_NOT_ACCEPTABLE;
+ ret = MBEDTLS_ERR_MPI_NOT_ACCEPTABLE;
+ goto cleanup;
}
} while ( mbedtls_mpi_cmp_mpi( &A, &W ) >= 0 ||