diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2023-10-02 11:06:45 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2023-10-02 11:06:45 +0200 |
commit | 44fbe64f03bfe8bce11ab9115d1ee621677e0476 (patch) | |
tree | 6f71be51540d3fe8a312468d96332095ab9973a0 | |
parent | 4de445cf86fcea53ac8aec2d6d8341e0f69ab2b2 (diff) |
openpgp: Update comment.
- We don't actually stop, and doing that seems like an optimization
for a very unlikely case.
-rw-r--r-- | openpgp/src/packet/signature.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/openpgp/src/packet/signature.rs b/openpgp/src/packet/signature.rs index 0f04c16c..66fc9d83 100644 --- a/openpgp/src/packet/signature.rs +++ b/openpgp/src/packet/signature.rs @@ -2612,8 +2612,7 @@ impl crate::packet::Signature { // Make multiple passes over the subpacket areas. Always // start with self, then other. Only consider eligible // packets. Consider authenticated ones first, then plausible - // unauthenticated ones, then the rest. If inserting fails at - // any moment, stop. + // unauthenticated ones, then the rest. for p in self.unhashed_area().iter() .filter(|p| eligible(p) && p.authenticated()) |