summaryrefslogtreecommitdiffstats
path: root/openpgp/benches/decrypt_message.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/benches/decrypt_message.rs')
-rw-r--r--openpgp/benches/decrypt_message.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/benches/decrypt_message.rs b/openpgp/benches/decrypt_message.rs
index ad113101..e2ed4e5e 100644
--- a/openpgp/benches/decrypt_message.rs
+++ b/openpgp/benches/decrypt_message.rs
@@ -40,7 +40,7 @@ fn bench_decrypt(c: &mut Criterion) {
let encrypted = encrypt::encrypt_with_password(m, PASSWORD).unwrap();
group.throughput(Throughput::Bytes(encrypted.len() as u64));
group.bench_with_input(
- BenchmarkId::new("password", encrypted.len()),
+ BenchmarkId::new("password", m.len()),
&encrypted,
|b, e| b.iter(|| decrypt_password(&e)),
);