diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-12-09 11:57:22 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-12-09 12:10:40 +0100 |
commit | 7f3d55f777f44f9046ac91afe8e398984f1e4ba1 (patch) | |
tree | 4c3edeae026a56d8fadeb5c6ea327a2d13185c74 /ffi/src/error.rs | |
parent | d4e3162c0c56a874f29a58d7fe84a8723b9516aa (diff) |
openpgp: New errors Expired and NotYetLive.
Diffstat (limited to 'ffi/src/error.rs')
-rw-r--r-- | ffi/src/error.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ffi/src/error.rs b/ffi/src/error.rs index 884e28d1..0e867cb3 100644 --- a/ffi/src/error.rs +++ b/ffi/src/error.rs @@ -70,6 +70,10 @@ impl<'a> FromSequoiaError<'a> for Status { Status::IndexOutOfRange, &openpgp::Error::UnsupportedCert(_) => Status::UnsupportedCert, + &openpgp::Error::Expired(_) => + Status::Expired, + &openpgp::Error::NotYetLive(_) => + Status::NotYetLive, } } |