summaryrefslogtreecommitdiffstats
path: root/openpgp/src/parse.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2023-07-03 10:57:46 +0200
committerJustus Winter <justus@sequoia-pgp.org>2023-07-03 11:31:10 +0200
commiteffe05235140125555b4890d8c65bb490c966690 (patch)
treee602219bc58b0567b4f3bb5ecbdd60eb0b3fb60d /openpgp/src/parse.rs
parentb12445ea3991cecaf37285e2f2c8937fccabe642 (diff)
openpgp: Deprecate SubpacketTag::PreferredAEADAlgorithms.
- This is replaced by a more expressive subpacket type in the crypto refresh. - See #1017.
Diffstat (limited to 'openpgp/src/parse.rs')
-rw-r--r--openpgp/src/parse.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/openpgp/src/parse.rs b/openpgp/src/parse.rs
index 11480d75..03670bdf 100644
--- a/openpgp/src/parse.rs
+++ b/openpgp/src/parse.rs
@@ -1621,6 +1621,7 @@ impl Subpacket {
// Then clear it from the type and convert it.
let tag: SubpacketTag = (tag & !(1 << 7)).into();
+ #[allow(deprecated)]
let value = match tag {
SubpacketTag::SignatureCreationTime =>
SubpacketValue::SignatureCreationTime(