summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2024-03-21 14:01:09 +0100
committerJustus Winter <justus@sequoia-pgp.org>2024-03-21 14:01:29 +0100
commitdae539e4c6420c8158526829be315462395bd56f (patch)
tree64c0fc87b45d203b1f23c6f1f9ee3861955a9b2d
parent086c11a70e4d7092f595a18fc8131be3249d3f11 (diff)
openpgp: Improve tracing.
-rw-r--r--openpgp/src/cert/bundle.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/openpgp/src/cert/bundle.rs b/openpgp/src/cert/bundle.rs
index f8b27245..eaaca0ef 100644
--- a/openpgp/src/cert/bundle.rs
+++ b/openpgp/src/cert/bundle.rs
@@ -688,12 +688,15 @@ impl<C> ComponentBundle<C> {
if let Some(revs)
= check(&self.self_revocations, self.hash_algo_security)
{
+ t!("-> RevocationStatus::Revoked({})", revs.len());
RevocationStatus::Revoked(revs)
} else if let Some(revs)
= check(&self.other_revocations, Default::default())
{
+ t!("-> RevocationStatus::CouldBe({})", revs.len());
RevocationStatus::CouldBe(revs)
} else {
+ t!("-> RevocationStatus::NotAsFarAsWeKnow");
RevocationStatus::NotAsFarAsWeKnow
}
}