summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2024-01-23 15:41:36 +0100
committerJustus Winter <justus@sequoia-pgp.org>2024-01-23 15:42:53 +0100
commit0fa2a240fceee0d317e90be939fe0729ea2df9dd (patch)
treee8d3af3abdea14d2fb3e264d2660a2bd88898b10
parentfd20bf577dbc4c8762219f39110c4dd5df5a1fd8 (diff)
openpgp: Fix comparing SKESK5 objects.
- See !1592.
-rw-r--r--openpgp/src/packet/skesk.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/openpgp/src/packet/skesk.rs b/openpgp/src/packet/skesk.rs
index 6dab9d8a..5331604e 100644
--- a/openpgp/src/packet/skesk.rs
+++ b/openpgp/src/packet/skesk.rs
@@ -336,6 +336,7 @@ impl PartialEq for SKESK5 {
fn eq(&self, other: &SKESK5) -> bool {
self.skesk4.version == other.skesk4.version
&& self.skesk4.sym_algo == other.skesk4.sym_algo
+ && self.aead_algo == other.aead_algo
&& self.aead_digest == other.aead_digest
// Treat S2K, IV, and ESK as opaque blob.
&& {