summaryrefslogtreecommitdiffstats
path: root/openpgp/src/parse
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/parse')
-rw-r--r--openpgp/src/parse/hashed_reader.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/openpgp/src/parse/hashed_reader.rs b/openpgp/src/parse/hashed_reader.rs
index cc481374..f3646a73 100644
--- a/openpgp/src/parse/hashed_reader.rs
+++ b/openpgp/src/parse/hashed_reader.rs
@@ -265,9 +265,10 @@ impl Cookie {
assert!(ngroups > 1);
for h in self.sig_groups[ngroups-2].hashes.iter_mut()
{
- t!("({:?}): group {} {:?} hashing {} stashed bytes.",
+ t!("({:?}): group {} {:?} hashing {} stashed bytes: {}",
hashes_for, ngroups-2, h.map(|ctx| ctx.algo()),
- data.len());
+ stashed_data.len(),
+ crate::fmt::hex::encode_pretty(&stashed_data));
h.update(&stashed_data);
}