summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto/s2k.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-02-13 18:16:35 +0100
committerJustus Winter <justus@sequoia-pgp.org>2019-02-18 12:07:57 +0100
commit31df689b6d702b9912a8342469941c78ab5bf6b4 (patch)
tree285ca0be3dc420d3b21392e44df8513810ff8148 /openpgp/src/crypto/s2k.rs
parent3a0c6fdda94c17871d0e4478e6bcb1dfa7215d77 (diff)
openpgp: New traits SerializeInto and SerializeKeyInto.
- Eventually, we will provide a no_std variant of this crate. - Fixes #185.
Diffstat (limited to 'openpgp/src/crypto/s2k.rs')
-rw-r--r--openpgp/src/crypto/s2k.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/openpgp/src/crypto/s2k.rs b/openpgp/src/crypto/s2k.rs
index 193eafcb..c280e23d 100644
--- a/openpgp/src/crypto/s2k.rs
+++ b/openpgp/src/crypto/s2k.rs
@@ -402,6 +402,8 @@ mod tests {
quickcheck! {
fn s2k_roundtrip(s2k: S2K) -> bool {
+ use serialize::SerializeInto;
+
eprintln!("in {:?}", s2k);
use std::io::Cursor;