From 7e3366ee8b0cb45d63af78cee7186c85e487e917 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Mon, 13 May 2019 11:31:56 +0200 Subject: openpgp: Typo. --- openpgp/src/serialize/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.2.3