diff options
Diffstat (limited to 'openpgp/src/lib.rs')
-rw-r--r-- | openpgp/src/lib.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/openpgp/src/lib.rs b/openpgp/src/lib.rs index 1c44137d..54b124c5 100644 --- a/openpgp/src/lib.rs +++ b/openpgp/src/lib.rs @@ -109,7 +109,7 @@ pub mod conversions; pub mod crypto; pub mod packet; -use crate::packet::{BodyLength, Header, Container}; +use crate::packet::{BodyLength, Header, Container, key}; use crate::packet::ctb::{CTB, CTBOld, CTBNew}; pub mod parse; @@ -265,13 +265,13 @@ pub enum Packet { /// One pass signature packet. OnePassSig(packet::OnePassSig), /// Public key packet. - PublicKey(packet::Key), + PublicKey(packet::key::PublicKey), /// Public subkey packet. - PublicSubkey(packet::Key), + PublicSubkey(packet::key::PublicSubkey), /// Public/Secret key pair. - SecretKey(packet::Key), + SecretKey(packet::key::SecretKey), /// Public/Secret subkey pair. - SecretSubkey(packet::Key), + SecretSubkey(packet::key::SecretSubkey), /// Marker packet. Marker(packet::Marker), /// Trust packet. |