summaryrefslogtreecommitdiffstats
path: root/openpgp/src/lib.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2018-07-10 10:16:37 +0200
committerJustus Winter <justus@sequoia-pgp.org>2018-07-10 10:16:37 +0200
commit6b9a1cc320a53e28fb1b9c99cb7897db797f253a (patch)
tree49717ce2e64ad4de2576e4717abcea67aa8e1ce8 /openpgp/src/lib.rs
parent4ba3f2845de226bb6dd675fea35cdb4ad1b538a9 (diff)
openpgp: Use broken-down time in the literal data packet.
- Also, make the `date` argument in the LiteralWriter's constructor optional, and explain what the parameters are for.
Diffstat (limited to 'openpgp/src/lib.rs')
-rw-r--r--openpgp/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/lib.rs b/openpgp/src/lib.rs
index 84dc6847..01b059f2 100644
--- a/openpgp/src/lib.rs
+++ b/openpgp/src/lib.rs
@@ -390,7 +390,7 @@ pub struct Literal {
pub filename: Option<Vec<u8>>,
/// A four-octet number that indicates a date associated with the
/// literal data.
- pub date: u32,
+ pub date: time::Tm,
}
/// Holds a compressed data packet.