diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-01-08 12:00:44 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-01-08 12:03:40 +0100 |
commit | 245fa8ddb2d3ac2fa03cd67434c0f61349c64ce2 (patch) | |
tree | 0ed62a4a829cabe0f925a255a48f9311d9b46c59 /openpgp/src/crypto/hash.rs | |
parent | 5b0b546ce73cc3a2bfed085726c43635d5519924 (diff) |
openpgp: Improve PartialEq for OnePassSig3.
- Previously, we compared the serialized forms. This, however,
involves making heap allocations. For me, that breaks the
expectation that equality should be free of side-effects, and
fast. Compare the fields instead.
Diffstat (limited to 'openpgp/src/crypto/hash.rs')
0 files changed, 0 insertions, 0 deletions