diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-08-05 11:53:22 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-08-05 13:05:09 +0200 |
commit | 7d4090c4c862e6f38f5a17a9ad77484bf219909d (patch) | |
tree | f70a89f90b06616557b151bea15b63d7e2e81a7d /autocrypt | |
parent | 78e9b6626ba96fa918f53e524720d595a6bb9340 (diff) |
openpgp: Don't implement Default for the Bitflags types.
- See #525.
Diffstat (limited to 'autocrypt')
-rw-r--r-- | autocrypt/src/cert.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autocrypt/src/cert.rs b/autocrypt/src/cert.rs index d0b1fdc1..7bbe2545 100644 --- a/autocrypt/src/cert.rs +++ b/autocrypt/src/cert.rs @@ -28,11 +28,11 @@ pub fn cert_builder<'a, V, U>(version: V, userid: Option<U>) Autocrypt::V1_1 => CipherSuite::Cv25519, }) .set_primary_key_flags( - KeyFlags::default() + KeyFlags::empty() .set_certification() .set_signing()) .add_subkey( - KeyFlags::default() + KeyFlags::empty() .set_transport_encryption() .set_storage_encryption(), None, |