summaryrefslogtreecommitdiffstats
path: root/tool/src/commands
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-08-11 11:16:34 +0200
committerJustus Winter <justus@sequoia-pgp.org>2020-08-11 14:32:13 +0200
commitc325bd5eee79cd83cc844e2dc7957aac4897ca61 (patch)
tree0ea0ad7df00bbdbd47f00af97fb6cf1d8ffc1d90 /tool/src/commands
parentdbed49a39a5e175d21902e63f9a6adf8ac9b848c (diff)
openpgp: Mark S2K::Simple and S2K::Salted as deprecated.
Diffstat (limited to 'tool/src/commands')
-rw-r--r--tool/src/commands/dump.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/src/commands/dump.rs b/tool/src/commands/dump.rs
index a1ddb043..e99990ee 100644
--- a/tool/src/commands/dump.rs
+++ b/tool/src/commands/dump.rs
@@ -865,6 +865,7 @@ impl PacketDumper {
fn dump_s2k(&self, output: &mut dyn io::Write, i: &str, s2k: &S2K)
-> Result<()> {
use self::S2K::*;
+ #[allow(deprecated)]
match s2k {
Simple { hash } => {
writeln!(output, "Simple")?;