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 /tool/src/commands | |
parent | 78e9b6626ba96fa918f53e524720d595a6bb9340 (diff) |
openpgp: Don't implement Default for the Bitflags types.
- See #525.
Diffstat (limited to 'tool/src/commands')
-rw-r--r-- | tool/src/commands/key.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/src/commands/key.rs b/tool/src/commands/key.rs index dc78866f..dc1df48a 100644 --- a/tool/src/commands/key.rs +++ b/tool/src/commands/key.rs @@ -87,7 +87,7 @@ pub fn generate(m: &ArgMatches, force: bool) -> Result<()> { // Encryption Capability match (m.value_of("can-encrypt"), m.is_present("cannot-encrypt")) { (Some("universal"), false) | (None, false) => { - builder = builder.add_subkey(KeyFlags::default() + builder = builder.add_subkey(KeyFlags::empty() .set_transport_encryption() .set_storage_encryption(), None, |