summaryrefslogtreecommitdiffstats
path: root/openpgp/src/packet/skesk.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/packet/skesk.rs')
-rw-r--r--openpgp/src/packet/skesk.rs24
1 files changed, 12 insertions, 12 deletions
diff --git a/openpgp/src/packet/skesk.rs b/openpgp/src/packet/skesk.rs
index cbc95243..0f62e948 100644
--- a/openpgp/src/packet/skesk.rs
+++ b/openpgp/src/packet/skesk.rs
@@ -9,18 +9,18 @@
use std::ops::{Deref, DerefMut};
use quickcheck::{Arbitrary, Gen};
-use Result;
-use crypto;
-use crypto::s2k::S2K;
-use Error;
-use constants::{
+use crate::Result;
+use crate::crypto;
+use crate::crypto::s2k::S2K;
+use crate::Error;
+use crate::constants::{
AEADAlgorithm,
SymmetricAlgorithm,
};
-use packet::{self, SKESK};
-use Packet;
-use crypto::Password;
-use crypto::SessionKey;
+use crate::packet::{self, SKESK};
+use crate::Packet;
+use crate::crypto::Password;
+use crate::crypto::SessionKey;
impl SKESK {
/// Derives the key inside this SKESK from `password`. Returns a
@@ -400,9 +400,9 @@ impl Arbitrary for SKESK5 {
#[cfg(test)]
mod test {
use super::*;
- use PacketPile;
- use parse::Parse;
- use serialize::{Serialize, SerializeInto};
+ use crate::PacketPile;
+ use crate::parse::Parse;
+ use crate::serialize::{Serialize, SerializeInto};
quickcheck! {
fn roundtrip(p: SKESK) -> bool {