summaryrefslogtreecommitdiffstats
path: root/openpgp/examples/decrypt-with.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2018-09-03 13:21:33 +0200
committerJustus Winter <justus@sequoia-pgp.org>2018-09-03 13:23:48 +0200
commit8ac4b4db369aeff76a0169d4424f5c5644c79f1a (patch)
tree755dfb3ae1861840b9a710cb41fcfd0b9417f4b0 /openpgp/examples/decrypt-with.rs
parent7379fd87a6edf97ccf4652630ca09c861419668b (diff)
openpgp: Expose packet structs in the packet module.
- Fixes #64.
Diffstat (limited to 'openpgp/examples/decrypt-with.rs')
-rw-r--r--openpgp/examples/decrypt-with.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/examples/decrypt-with.rs b/openpgp/examples/decrypt-with.rs
index 795185b4..695bf7af 100644
--- a/openpgp/examples/decrypt-with.rs
+++ b/openpgp/examples/decrypt-with.rs
@@ -8,7 +8,7 @@ extern crate openpgp;
use openpgp::{
Packet,
KeyID,
- Key,
+ packet::Key,
TPK,
SecretKey,
};
@@ -44,7 +44,7 @@ pub fn main() {
#[derive(PartialEq)]
enum State {
- Start(Vec<openpgp::PKESK>, Vec<openpgp::SKESK>),
+ Start(Vec<openpgp::packet::PKESK>, Vec<openpgp::packet::SKESK>),
Deciphered,
Done,
}