- ptr = ec_calloc(2, atoll("0xffffffffffffffff"));
- EC_TEST_CHECK(ptr == NULL, "bad overflow check in ec_calloc\n");
+ ptr = ec_calloc(3, atoll("9223372036854775807")); /* (1 << 63) - 1 */
+ testres |= EC_TEST_CHECK(ptr == NULL, "bad overflow check in ec_calloc\n");