summaryrefslogtreecommitdiffstats
path: root/openpgp/src/cert.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/cert.rs')
-rw-r--r--openpgp/src/cert.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/openpgp/src/cert.rs b/openpgp/src/cert.rs
index b35fd7eb..f7cd1797 100644
--- a/openpgp/src/cert.rs
+++ b/openpgp/src/cert.rs
@@ -1710,6 +1710,7 @@ impl Cert {
}
} else {
// No key, we need to trust our heuristic.
+ sig.set_computed_digest(Some(hash));
$binding.$sigs.push(sig);
}
} else {
@@ -1955,6 +1956,7 @@ impl Cert {
$sig.digest_prefix()[1],
$sig.typ(), $desc);
+ sig.set_computed_digest(Some(hash));
$sigs.push($sig.clone());
// The cost of missing a revocation
// certificate merely because we put