summaryrefslogtreecommitdiffstats
path: root/openpgp/src/cert/builder.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/cert/builder.rs')
-rw-r--r--openpgp/src/cert/builder.rs18
1 files changed, 0 insertions, 18 deletions
diff --git a/openpgp/src/cert/builder.rs b/openpgp/src/cert/builder.rs
index 16a4339f..15d0a350 100644
--- a/openpgp/src/cert/builder.rs
+++ b/openpgp/src/cert/builder.rs
@@ -1381,17 +1381,6 @@ mod tests {
assert_eq!(cert.revocation_keys(p).collect::<HashSet<_>>(),
revokers.iter().collect::<HashSet<_>>());
- // The designated revokers on the direct signature should also
- // be returned when querying components for designated
- // revokers.
- assert_eq!(
- cert.primary_key().revocation_keys(p).collect::<HashSet<_>>(),
- revokers.iter().collect::<HashSet<_>>());
- assert_eq!(
- cert.primary_userid()?.revocation_keys(p).collect::<HashSet<_>>(),
- revokers.iter().collect::<HashSet<_>>());
-
-
// Do it again, with a key that has no User IDs.
let (cert,_) = CertBuilder::new()
.set_revocation_keys(revokers.clone())
@@ -1402,13 +1391,6 @@ mod tests {
assert_eq!(cert.revocation_keys(p).collect::<HashSet<_>>(),
revokers.iter().collect::<HashSet<_>>());
- // The designated revokers on the direct signature should also
- // be returned when querying components for designated
- // revokers.
- assert_eq!(
- cert.primary_key().revocation_keys(p).collect::<HashSet<_>>(),
- revokers.iter().collect::<HashSet<_>>());
-
// The designated revokers on all signatures should be
// considered.
let now = crate::types::Timestamp::now();