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

dbaryshkov at gmail.com dbaryshkov at gmail.com
Fri Mar 20 14:49:28 CET 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.25.1




More information about the Gcrypt-devel mailing list