Skip to content

Commit

Permalink
Make this error more helpful by naming the algorithm involved
Browse files Browse the repository at this point in the history
  • Loading branch information
randombit committed Mar 14, 2023
1 parent d6d74f9 commit 563f186
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli/speed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<size_t>(std::min(sig_timer->events(), ver_timer->events()));

Expand Down

0 comments on commit 563f186

Please sign in to comment.