aboutsummaryrefslogtreecommitdiffstats
path: root/checks/pk_bench.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-09-13 20:53:31 +0000
committerlloyd <[email protected]>2010-09-13 20:53:31 +0000
commit4fe8a34f1869805d9115f39cad53d1fd7f7eb6c4 (patch)
tree2ff6c30d1a7d5f2244b6f1b459a5ea10b6d43fe0 /checks/pk_bench.cpp
parent36bfef27271eadffefbc6891a9d7fa7eed7b1e10 (diff)
Remove more uses of vector to pointer implicit conversions
Diffstat (limited to 'checks/pk_bench.cpp')
-rw-r--r--checks/pk_bench.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/checks/pk_bench.cpp b/checks/pk_bench.cpp
index 41108d9ac..2eb87dfeb 100644
--- a/checks/pk_bench.cpp
+++ b/checks/pk_bench.cpp
@@ -162,8 +162,7 @@ void benchmark_sig_ver(PK_Verifier& ver, PK_Signer& sig,
if((i % 100) == 0)
{
- sig_random.resize(signature.size());
- rng.randomize(sig_random, sig_random.size());
+ sig_random = rng.random_vec(signature.size());
verify_timer.start();
bool verified2 = ver.verify_message(message, sig_random);