diff options
author | Neal H. Walfield <neal@pep.foundation> | 2020-01-13 18:31:28 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2020-01-13 21:21:35 +0100 |
commit | 78ebbf05c9839771ae5dc3ce0c1c3cd278f0bde4 (patch) | |
tree | 73eebd625ff7a96fb03808fb0919e6d19900f93b /openpgp/examples/decrypt-with.rs | |
parent | 4b2288ad66cc894956dc3511259b2a75bfc94301 (diff) |
openpgp: Add Error variant to VerificationResult.
- Add an Error variant to VerificationResult.
Diffstat (limited to 'openpgp/examples/decrypt-with.rs')
-rw-r--r-- | openpgp/examples/decrypt-with.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openpgp/examples/decrypt-with.rs b/openpgp/examples/decrypt-with.rs index 35393924..2892761e 100644 --- a/openpgp/examples/decrypt-with.rs +++ b/openpgp/examples/decrypt-with.rs @@ -135,6 +135,9 @@ impl VerificationHelper for Helper { BadChecksum { cert, .. } => { eprintln!("Bad signature from {}", cert); }, + Error { error, .. } => { + eprintln!("Error: {}", error); + }, } } } |