summaryrefslogtreecommitdiffstats
path: root/openpgp/src/parse/hashed_reader.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/parse/hashed_reader.rs')
-rw-r--r--openpgp/src/parse/hashed_reader.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/openpgp/src/parse/hashed_reader.rs b/openpgp/src/parse/hashed_reader.rs
index 120cf222..a8ec36cf 100644
--- a/openpgp/src/parse/hashed_reader.rs
+++ b/openpgp/src/parse/hashed_reader.rs
@@ -88,7 +88,7 @@ impl Cookie {
if self.hashing == Hashing::Disabled {
t!(" hash_update: NOT hashing {} bytes: {}.",
- data.len(), crate::conversions::to_hex(data, true));
+ data.len(), crate::fmt::to_hex(data, true));
return;
}
@@ -96,7 +96,7 @@ impl Cookie {
for (i, sig_group) in self.sig_groups.iter_mut().enumerate() {
if topmost_group(i) && self.hashing != Hashing::Enabled {
t!("topmost group {} NOT hashing {} bytes: {}.",
- i, data.len(), crate::conversions::to_hex(data, true));
+ i, data.len(), crate::fmt::to_hex(data, true));
return;
}
@@ -280,7 +280,7 @@ mod test {
hash.digest(&mut digest);
assert_eq!(digest,
- &crate::conversions::from_hex(test.expected.get(algo)
+ &crate::fmt::from_hex(test.expected.get(algo)
.unwrap(), true)
.unwrap()[..],
"Algo: {:?}", algo);