summaryrefslogtreecommitdiffstats
path: root/openpgp/src/parse/mpis.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/parse/mpis.rs')
-rw-r--r--openpgp/src/parse/mpis.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/parse/mpis.rs b/openpgp/src/parse/mpis.rs
index 0dc6de4b..efc4c893 100644
--- a/openpgp/src/parse/mpis.rs
+++ b/openpgp/src/parse/mpis.rs
@@ -155,7 +155,7 @@ impl mpis::SecretKeyMaterial {
pub fn parse_chksumd<T: Read>(algo: PublicKeyAlgorithm, cur: T)
-> Result<Self> {
use std::io::Cursor;
- use crate::serialize::Serialize;
+ use crate::serialize::Marshal;
// read mpis
let bio = buffered_reader::Generic::with_cookie(
@@ -483,7 +483,7 @@ impl mpis::Signature {
fn mpis_parse_test() {
use super::Parse;
use crate::PublicKeyAlgorithm::*;
- use crate::serialize::SerializeInto;
+ use crate::serialize::MarshalInto;
// Dummy RSA public key.
{