diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-04-03 17:09:18 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-04-03 17:54:32 +0200 |
commit | da206f3817b98dcf1270f620dac3a0995601d552 (patch) | |
tree | 2efcd0c67cef40b60463e60fbe3440add2ae451b /tool/src | |
parent | c775f30e1f0ec9e775466f2ece0f8efae29ad290 (diff) |
openpgp: Reverse the order of signature groups.
- Previously, we reported the signature groups in the order
encountered in the message. Reverse this order in preparation to
reporting the message structure, which is the path from the start
of the message to the literal data packet.
Diffstat (limited to 'tool/src')
-rw-r--r-- | tool/src/commands/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/src/commands/mod.rs b/tool/src/commands/mod.rs index feb3e41e..aa60b5d2 100644 --- a/tool/src/commands/mod.rs +++ b/tool/src/commands/mod.rs @@ -243,7 +243,7 @@ impl<'a> VerificationHelper for VHelper<'a> { fn check(&mut self, sigs: Vec<Vec<VerificationResult>>) -> Result<()> { use self::VerificationResult::*; - for (i, results) in sigs.into_iter().enumerate() { + for (i, results) in sigs.into_iter().rev().enumerate() { for result in results { let issuer = match result { GoodChecksum(ref sig, ..) => sig.get_issuer(), |