diff options
Diffstat (limited to 'openpgp/src/packet/key/mod.rs')
-rw-r--r-- | openpgp/src/packet/key/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/packet/key/mod.rs b/openpgp/src/packet/key/mod.rs index 1cf16e08..cd184b64 100644 --- a/openpgp/src/packet/key/mod.rs +++ b/openpgp/src/packet/key/mod.rs @@ -1530,7 +1530,7 @@ pub struct Unencrypted { impl From<mpis::SecretKeyMaterial> for Unencrypted { fn from(mpis: mpis::SecretKeyMaterial) -> Self { - use crate::serialize::Serialize; + use crate::serialize::Marshal; let mut plaintext = Vec::new(); // We need to store the type. plaintext.push( |