mirror of
https://github.com/cuberite/polarssl.git
synced 2025-10-05 03:24:17 -04:00
Fix style
Signed-off-by: Janos Follath <janos.follath@arm.com>
This commit is contained in:
parent
6bd5cae3e6
commit
0902572aa4
@ -1628,7 +1628,7 @@ int mbedtls_mpi_exp_mod(mbedtls_mpi *X, const mbedtls_mpi *A,
|
|||||||
* Allocate working memory for mbedtls_mpi_core_exp_mod()
|
* Allocate working memory for mbedtls_mpi_core_exp_mod()
|
||||||
*/
|
*/
|
||||||
size_t T_limbs = mbedtls_mpi_core_exp_mod_working_limbs(N->n, E->n);
|
size_t T_limbs = mbedtls_mpi_core_exp_mod_working_limbs(N->n, E->n);
|
||||||
mbedtls_mpi_uint *T = (mbedtls_mpi_uint*) mbedtls_calloc(T_limbs, sizeof(mbedtls_mpi_uint));
|
mbedtls_mpi_uint *T = (mbedtls_mpi_uint *) mbedtls_calloc(T_limbs, sizeof(mbedtls_mpi_uint));
|
||||||
if (T == NULL) {
|
if (T == NULL) {
|
||||||
return MBEDTLS_ERR_MPI_ALLOC_FAILED;
|
return MBEDTLS_ERR_MPI_ALLOC_FAILED;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user