summaryrefslogtreecommitdiffstats
path: root/openpgp/examples/decrypt-with.rs
diff options
context:
space:
mode:
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,
}