summaryrefslogtreecommitdiffstats
path: root/openpgp/src/types/revocation_key.rs
diff options
context:
space:
mode:
authorWiktor Kwapisiewicz <wiktor@metacode.biz>2020-12-11 17:06:05 +0100
committerWiktor Kwapisiewicz <wiktor@metacode.biz>2020-12-11 17:12:57 +0100
commit981d0393a634c2b8b58be5772202a0da1951b854 (patch)
tree867004b5a927a34ee91816010bf117116fc379aa /openpgp/src/types/revocation_key.rs
parent90105c50559da50d7e601dca6a27040e03e430a1 (diff)
openpgp: Remove ComponentAmalgamation::revocation_keys.
- Remove the function. - Remove associated tests. - Cert::revocation_keys does examine all live self-signatures. - Fixes #629.
Diffstat (limited to 'openpgp/src/types/revocation_key.rs')
-rw-r--r--openpgp/src/types/revocation_key.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/openpgp/src/types/revocation_key.rs b/openpgp/src/types/revocation_key.rs
index c0457b24..b55d65ce 100644
--- a/openpgp/src/types/revocation_key.rs
+++ b/openpgp/src/types/revocation_key.rs
@@ -45,9 +45,8 @@ use crate::{
/// .set_revocation_keys(vec![(&alice).into()])
/// .generate()?;
///
-/// // Make sure Alice is listed as a designated revoker for Bob
-/// // on a component.
-/// assert_eq!(bob.with_policy(p, None)?.primary_userid()?.revocation_keys(p)
+/// // Make sure Alice is listed as a designated revoker for Bob.
+/// assert_eq!(bob.with_policy(p, None)?.revocation_keys(p)
/// .collect::<Vec<&RevocationKey>>(),
/// vec![&(&alice).into()]);
/// # Ok(()) }