summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto/s2k.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/crypto/s2k.rs')
-rw-r--r--openpgp/src/crypto/s2k.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/crypto/s2k.rs b/openpgp/src/crypto/s2k.rs
index fc29a7e1..d738a37d 100644
--- a/openpgp/src/crypto/s2k.rs
+++ b/openpgp/src/crypto/s2k.rs
@@ -290,7 +290,6 @@ mod tests {
use crate::SymmetricAlgorithm;
use crate::Packet;
use crate::parse::{Parse, PacketParser};
- use crate::serialize::Serialize;
#[test]
fn s2k_parser_test() {
@@ -423,7 +422,8 @@ mod tests {
quickcheck! {
fn s2k_roundtrip(s2k: S2K) -> bool {
- use crate::serialize::SerializeInto;
+ use crate::serialize::Marshal;
+ use crate::serialize::MarshalInto;
eprintln!("in {:?}", s2k);
use std::io::Cursor;