summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-05-13 11:31:56 +0200
committerJustus Winter <justus@sequoia-pgp.org>2019-05-13 14:47:51 +0200
commit7e3366ee8b0cb45d63af78cee7186c85e487e917 (patch)
treef5e0adda93ceb1efdf662bedb5cdf14358d0ae8b
parent12b59e857cb64de0e354ca17736dbff2e3b5a6e1 (diff)
openpgp: Typo.
-rw-r--r--openpgp/src/serialize/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/serialize/mod.rs b/openpgp/src/serialize/mod.rs
index 26bc8a6b..9d16e8ed 100644
--- a/openpgp/src/serialize/mod.rs
+++ b/openpgp/src/serialize/mod.rs
@@ -1659,7 +1659,7 @@ impl NetLength for CompressedData {
}).unwrap_or(0)
+ self.common.body.as_ref().map(|body| body.len()).unwrap_or(0);
- // Worst case, the data get's larger. Account for that.
+ // Worst case, the data gets larger. Account for that.
let inner_length = inner_length + cmp::max(inner_length / 10, 32);
1 // Algorithm.