summaryrefslogtreecommitdiffstats
path: root/openpgp
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp')
-rw-r--r--openpgp/src/parse/stream.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/openpgp/src/parse/stream.rs b/openpgp/src/parse/stream.rs
index 32f55362..46188fd0 100644
--- a/openpgp/src/parse/stream.rs
+++ b/openpgp/src/parse/stream.rs
@@ -317,6 +317,8 @@ impl<'a> std::fmt::Display for VerificationError<'a> {
}
}
+impl<'a> std::error::Error for VerificationError<'a> {}
+
impl<'a> From<VerificationError<'a>> for Error {
fn from(e: VerificationError<'a>) -> Self {
use self::VerificationError::*;