Skip to content

Commit 28ecdd5

Browse files
committed
minor improvements
[skip ci]
1 parent ac4687d commit 28ecdd5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ int main(int argc, char **argv)
392392
nop++;
393393
}
394394
else {
395-
printf("failed %10.3fms", (double)(delta)/1000);
395+
printf("failed (%s) %10.3fms", error_to_string(x), (double)(delta)/1000);
396396
fail++;
397397
}
398398
}

tests/tomcrypt_test.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* this and so it's treated as an error and you have to comment out the
3030
* following statement :)
3131
*/
32-
#error EXT_MATH_LIB is required to be defined
32+
#error One of USE_LTM, USE_TFM, USE_GMP and EXT_MATH_LIB is required to be defined
3333
#endif
3434
#endif
3535

0 commit comments

Comments
 (0)