mirror of
https://github.com/cryb-to/cryb-to.git
synced 2025-01-22 19:51:12 +00:00
Fix the "x = a + b" allocation failure test. Since a and b were
equal, mpi_sub_abs() would return early and the test would never exercise the mpi_grow() call which is intended to fail.
This commit is contained in:
parent
0d483f20ab
commit
f18b915b67
1 changed files with 1 additions and 1 deletions
|
@ -1350,7 +1350,7 @@ t_mpi_sub_fail(char **desc CRYB_UNUSED, void *arg CRYB_UNUSED)
|
|||
cryb_mpi x = CRYB_MPI_ZERO;
|
||||
int ret = 1;
|
||||
|
||||
mpi_load(&a, large_v, sizeof large_v);
|
||||
mpi_load(&a, small_v, sizeof small_v);
|
||||
mpi_load(&b, large_v, sizeof large_v);
|
||||
mpi_set(&x, 0x20140901);
|
||||
mpi_set(&e, 0x20140901);
|
||||
|
|
Loading…
Reference in a new issue