diff options
Diffstat (limited to 'ffi/src')
-rw-r--r-- | ffi/src/error.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ffi/src/error.rs b/ffi/src/error.rs index 6b791d97..f68f4c3d 100644 --- a/ffi/src/error.rs +++ b/ffi/src/error.rs @@ -32,6 +32,8 @@ impl<'a> FromSequoiaError<'a> for Status { Status::InvalidOperation, &openpgp::Error::MalformedPacket(_) => Status::MalformedPacket, + &openpgp::Error::PacketTooLarge(_, _, _) => + Status::PacketTooLarge, &openpgp::Error::UnsupportedPacketType(_) => Status::UnsupportedPacketType, &openpgp::Error::UnsupportedHashAlgorithm(_) => |