diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-07-28 16:48:21 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-07-28 17:02:21 +0200 |
commit | b9f1dac59c758826c7c92541d01f447179a1e4d2 (patch) | |
tree | a9c9f465e6433715edb749c21c0a6ae6f0197877 /openpgp/src/serialize | |
parent | c5f44ce753f3b56338311b9dc9d1d3de86307fa3 (diff) |
openpgp: Reimplement the KeyFlags struct using Bitfield.
- This also drops the implementation of PartialOrd since we did not
use it in the key selection after all.
- Fixes #525.
Diffstat (limited to 'openpgp/src/serialize')
-rw-r--r-- | openpgp/src/serialize/cert.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/serialize/cert.rs b/openpgp/src/serialize/cert.rs index a36dfe06..8e85ac29 100644 --- a/openpgp/src/serialize/cert.rs +++ b/openpgp/src/serialize/cert.rs @@ -771,7 +771,7 @@ mod test { &mut keypair, &cert, signature::SignatureBuilder::new(SignatureType::SubkeyBinding) .set_key_flags( - &KeyFlags::default().set_transport_encryption(true)) + &KeyFlags::default().set_transport_encryption()) .unwrap() .set_exportable_certification(false).unwrap()).unwrap(); |