summaryrefslogtreecommitdiffstats
path: root/openpgp/src/message
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2018-09-03 13:21:33 +0200
committerJustus Winter <justus@sequoia-pgp.org>2018-09-03 13:23:48 +0200
commit8ac4b4db369aeff76a0169d4424f5c5644c79f1a (patch)
tree755dfb3ae1861840b9a710cb41fcfd0b9417f4b0 /openpgp/src/message
parent7379fd87a6edf97ccf4652630ca09c861419668b (diff)
openpgp: Expose packet structs in the packet module.
- Fixes #64.
Diffstat (limited to 'openpgp/src/message')
-rw-r--r--openpgp/src/message/mod.rs18
1 files changed, 9 insertions, 9 deletions
diff --git a/openpgp/src/message/mod.rs b/openpgp/src/message/mod.rs
index 3d06a591..b81f5adc 100644
--- a/openpgp/src/message/mod.rs
+++ b/openpgp/src/message/mod.rs
@@ -21,7 +21,7 @@ use Error;
use Packet;
use PacketPile;
use Message;
-use Literal;
+use packet::Literal;
use packet::Tag;
@@ -401,14 +401,14 @@ mod tests {
use s2k::S2K;
use mpis::MPIs;
use Tag;
- use CompressedData;
- use Literal;
- use OnePassSig;
- use Signature;
- use SKESK;
- use PKESK;
- use SEIP;
- use MDC;
+ use packet::CompressedData;
+ use packet::Literal;
+ use packet::OnePassSig;
+ use packet::Signature;
+ use packet::SKESK;
+ use packet::PKESK;
+ use packet::SEIP;
+ use packet::MDC;
use KeyID;
use Container;