[PATCH 2/2] tests/benchmark.c: fix error message for invalid MAC algo

Dmitry Baryshkov dbaryshkov at gmail.com
Wed May 6 21:02:04 CEST 2020


From: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
---
 tests/benchmark.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/benchmark.c b/tests/benchmark.c
index a245152c0228..5963527e1d7a 100644
--- a/tests/benchmark.c
+++ b/tests/benchmark.c
@@ -613,7 +613,7 @@ mac_bench ( const char *algoname )
   algo = gcry_mac_map_name (algoname);
   if (!algo)
     {
-      fprintf (stderr, PGM ": invalid hash algorithm `%s'\n", algoname);
+      fprintf (stderr, PGM ": invalid MAC algorithm `%s'\n", algoname);
       exit (1);
     }
 
-- 
2.26.2




More information about the Gcrypt-devel mailing list