summaryrefslogtreecommitdiffstats
path: root/openpgp/src/packet/signature/subpacket.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/packet/signature/subpacket.rs')
-rw-r--r--openpgp/src/packet/signature/subpacket.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/openpgp/src/packet/signature/subpacket.rs b/openpgp/src/packet/signature/subpacket.rs
index cbba8454..d88a6b72 100644
--- a/openpgp/src/packet/signature/subpacket.rs
+++ b/openpgp/src/packet/signature/subpacket.rs
@@ -7290,7 +7290,7 @@ fn accessors() {
assert_eq!(sig_.reason_for_revocation(),
Some((ReasonForRevocation::KeyRetired, &b"foobar"[..])));
- let feats = Features::empty().set_mdc();
+ let feats = Features::empty().set_seipdv1();
sig = sig.set_features(feats.clone()).unwrap();
let sig_ =
sig.clone().sign_hash(&mut keypair, hash.clone()).unwrap();
@@ -7584,13 +7584,13 @@ fn subpacket_test_2() {
authenticated: false,
}));
- assert_eq!(sig.features().unwrap(), Features::empty().set_mdc());
+ assert_eq!(sig.features().unwrap(), Features::empty().set_seipdv1());
assert_eq!(sig.subpacket(SubpacketTag::Features),
Some(&Subpacket {
length: 2.into(),
critical: false,
value: SubpacketValue::Features(
- Features::empty().set_mdc()),
+ Features::empty().set_seipdv1()),
authenticated: false,
}));