diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-02-21 11:52:13 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-02-21 11:52:13 +0100 |
commit | a5ca70a2bc89ce7b5c20b1be3c66a04e905b3d47 (patch) | |
tree | cb293c3cde2af3a6fc03a0cadbcbb0987d5148f6 /tool | |
parent | ed16289b63cfdede68b5c4b864bd7b5ec37ba42b (diff) |
openpgp: Mark enum SecretKeyMaterial as non-exhaustive.
Diffstat (limited to 'tool')
-rw-r--r-- | tool/src/commands/dump.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tool/src/commands/dump.rs b/tool/src/commands/dump.rs index 5128aeda..d05263bf 100644 --- a/tool/src/commands/dump.rs +++ b/tool/src/commands/dump.rs @@ -403,6 +403,8 @@ impl PacketDumper { pd.dump_mpis(output, &ii, &[rest], &["rest"])?; }, + mpis::SecretKeyMaterial::__Nonexhaustive => + unreachable!(), } Ok(()) })?, SecretKeyMaterial::Encrypted(ref e) => { writeln!(output, "{}", i)?; |