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.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/cert/builder.rs b/openpgp/src/cert/builder.rs
index 43a27aab..c8477c95 100644
--- a/openpgp/src/cert/builder.rs
+++ b/openpgp/src/cert/builder.rs
@@ -1602,7 +1602,7 @@ mod tests {
let sig =
cert.primary_key().with_policy(p, None).unwrap().binding_signature();
assert_eq!(sig.typ(), crate::types::SignatureType::DirectKey);
- assert!(sig.features().unwrap().supports_mdc());
+ assert!(sig.features().unwrap().supports_seipdv1());
}
#[test]
@@ -1635,7 +1635,7 @@ mod tests {
PublicKeyAlgorithm::EdDSA);
assert!(cert1.subkeys().next().is_none());
assert!(cert1.with_policy(p, None).unwrap().primary_userid().unwrap()
- .binding_signature().features().unwrap().supports_mdc());
+ .binding_signature().features().unwrap().supports_seipdv1());
}
#[test]