From 28ecdd5d12ac39fd21a9555e07b0b25c04996407 Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Mon, 7 Aug 2017 16:33:38 +0200 Subject: [PATCH] minor improvements [skip ci] --- tests/test.c | 2 +- tests/tomcrypt_test.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.c b/tests/test.c index 990404c..b811758 100644 --- a/tests/test.c +++ b/tests/test.c @@ -392,7 +392,7 @@ int main(int argc, char **argv) nop++; } else { - printf("failed %10.3fms", (double)(delta)/1000); + printf("failed (%s) %10.3fms", error_to_string(x), (double)(delta)/1000); fail++; } } diff --git a/tests/tomcrypt_test.h b/tests/tomcrypt_test.h index c2e4646..af5a0af 100644 --- a/tests/tomcrypt_test.h +++ b/tests/tomcrypt_test.h @@ -29,7 +29,7 @@ * this and so it's treated as an error and you have to comment out the * following statement :) */ -#error EXT_MATH_LIB is required to be defined +#error One of USE_LTM, USE_TFM, USE_GMP and EXT_MATH_LIB is required to be defined #endif #endif