From 563f18622c970f4916f5f7e843ffcc9a745b6dad Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Mon, 13 Mar 2023 20:24:00 -0400 Subject: [PATCH] Make this error more helpful by naming the algorithm involved --- src/cli/speed.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli/speed.cpp b/src/cli/speed.cpp index 90d9198b743..f4daab451cb 100644 --- a/src/cli/speed.cpp +++ b/src/cli/speed.cpp @@ -1907,13 +1907,13 @@ class Speed final : public Command if(verified_bad) { - error_output() << "Bad signature accepted in PK signature bench\n"; + error_output() << "Bad signature accepted in " << nm << " signature bench\n"; } } } if(invalid_sigs > 0) - error_output() << invalid_sigs << " generated signatures rejected in PK signature bench\n"; + error_output() << invalid_sigs << " generated signatures rejected in " << nm << " signature bench\n"; const size_t events = static_cast(std::min(sig_timer->events(), ver_timer->events()));