We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ada6361 commit 60f7f2dCopy full SHA for 60f7f2d
src/tests.c
@@ -366,8 +366,8 @@ void run_scratch_tests(void) {
366
CHECK(scratch->alloc_size != 0);
367
CHECK(scratch->alloc_size % ALIGNMENT == 0);
368
369
- /* Allocating another 500 bytes fails */
370
- CHECK(secp256k1_scratch_alloc(&none->error_callback, scratch, 500) == NULL);
+ /* Allocating another 501 bytes fails */
+ CHECK(secp256k1_scratch_alloc(&none->error_callback, scratch, 501) == NULL);
371
CHECK(secp256k1_scratch_max_allocation(&none->error_callback, scratch, 0) == 1000 - adj_alloc);
372
CHECK(secp256k1_scratch_max_allocation(&none->error_callback, scratch, 1) == 1000 - adj_alloc - (ALIGNMENT - 1));
373
0 commit comments