summaryrefslogtreecommitdiffstats
path: root/openpgp/src/message
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2018-10-17 14:06:50 +0200
committerJustus Winter <justus@sequoia-pgp.org>2019-03-26 16:30:56 +0100
commitc3b76589463017ddaa186c45108c4f91db5a14cf (patch)
tree25ef976d55ce15f40cd5661cbcab7fc9a2e3ae9c /openpgp/src/message
parentb2d5cabc889d157f6e93ceca7b64c0246ca459bf (diff)
openpgp: Introduce explicit packet versions, move enum SKESK.
- This patch makes packet::skesk public, exports the SKESK4 and SKESK5 type there, and moves the SKESK enum to packet. - This is a clean and faithful way to represent packet versions. It allows us to cleanly support future versions, and offer partial support for older versions. Parsing and understanding old versions allows Sequoia to be used to access archived information. - This is the first of a series of patches that introduces explicit packet versions for all packet types in the form of enums like the SKESK enum. - See #228.
Diffstat (limited to 'openpgp/src/message')
-rw-r--r--openpgp/src/message/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/message/mod.rs b/openpgp/src/message/mod.rs
index 883b8465..66b735f0 100644
--- a/openpgp/src/message/mod.rs
+++ b/openpgp/src/message/mod.rs
@@ -410,7 +410,7 @@ mod tests {
use packet::CompressedData;
use packet::Literal;
use packet::OnePassSig;
- use packet::SKESK4;
+ use packet::skesk::SKESK4;
use packet::PKESK;
use packet::SEIP;
use packet::MDC;