diff options
author | Wiktor Kwapisiewicz <wiktor@metacode.biz> | 2020-12-11 17:06:05 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-12-11 18:24:34 +0100 |
commit | e21a3572b82f56b75bbba771ae6824c22045e10a (patch) | |
tree | a13dfd545073aeeabd642f04aa54a71cfda429bc /openpgp/src/types | |
parent | 9675e949909aef163dea230ad80ee7df1cba1ff8 (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')
-rw-r--r-- | openpgp/src/types/revocation_key.rs | 5 |
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(()) } |