diff options
Diffstat (limited to 'openpgp/src')
-rw-r--r-- | openpgp/src/packet/signature.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openpgp/src/packet/signature.rs b/openpgp/src/packet/signature.rs index 3c217a85..16ded021 100644 --- a/openpgp/src/packet/signature.rs +++ b/openpgp/src/packet/signature.rs @@ -2045,6 +2045,9 @@ impl crate::packet::Signature { // cake, hence it is only a best-effort mechanism that // silently fails. let _ = sig.add_missing_issuers(); + + // Normalize the order of subpackets. + sig.unhashed_area_mut().sort(); } sig } |