summaryrefslogtreecommitdiffstats
path: root/tool/src/commands/mod.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-09-11 15:14:13 +0200
committerJustus Winter <justus@sequoia-pgp.org>2019-09-11 15:30:04 +0200
commit4e0618c932b6b63d6663de212581e559cd680a90 (patch)
tree02a0c4bf1ea90bd98295210805d67a150f4bfcac /tool/src/commands/mod.rs
parent16616b00f499022402f693aace99d12bfef5659a (diff)
openpgp: Move packet::KeyFlags to constants.
Diffstat (limited to 'tool/src/commands/mod.rs')
-rw-r--r--tool/src/commands/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/src/commands/mod.rs b/tool/src/commands/mod.rs
index f07b5445..f9cbb776 100644
--- a/tool/src/commands/mod.rs
+++ b/tool/src/commands/mod.rs
@@ -88,7 +88,7 @@ pub fn encrypt(store: &mut store::Store,
input: &mut io::Read, output: &mut io::Write,
npasswords: usize, recipients: Vec<&str>,
mut tpks: Vec<openpgp::TPK>, signers: Vec<openpgp::TPK>,
- mode: KeyFlags,
+ mode: openpgp::constants::KeyFlags,
compression: &str)
-> Result<()> {
for r in recipients {