summaryrefslogtreecommitdiffstats
path: root/openpgp/src/parse
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/parse')
-rw-r--r--openpgp/src/parse/parse.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/parse/parse.rs b/openpgp/src/parse/parse.rs
index 5a5a356e..d57e9b52 100644
--- a/openpgp/src/parse/parse.rs
+++ b/openpgp/src/parse/parse.rs
@@ -3303,7 +3303,7 @@ impl <'a> PacketParser<'a> {
match self.packet.tag() {
Tag::SEIP | Tag::AED | Tag::SED | Tag::CompressedData => {
// We didn't (fully) process a container's content. Add
- // this as opaque conent to the message validator.
+ // this as opaque content to the message validator.
let mut path = self.path().to_vec();
path.push(0);
self.state.message_validator.push_token(
@@ -3539,7 +3539,7 @@ impl<'a> PacketParser<'a> {
Packet::SEIP(_) => {
// Get the first blocksize plus two bytes and check
// whether we can decrypt them using the provided key.
- // Don't actually comsume them in case we can't.
+ // Don't actually consume them in case we can't.
let bl = algo.block_size()?;
{