summaryrefslogtreecommitdiffstats
path: root/openpgp/examples/decrypt-with.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/examples/decrypt-with.rs')
-rw-r--r--openpgp/examples/decrypt-with.rs3
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);
+ },
}
}
}