diff options
Diffstat (limited to 'src/lib/ffi/ffi.cpp')
-rw-r--r-- | src/lib/ffi/ffi.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ffi/ffi.cpp b/src/lib/ffi/ffi.cpp index 4fe1d8c71..bd05943e9 100644 --- a/src/lib/ffi/ffi.cpp +++ b/src/lib/ffi/ffi.cpp @@ -33,6 +33,7 @@ int ffi_map_error_type(Botan::ErrorType err) { case Botan::ErrorType::Unknown: return BOTAN_FFI_ERROR_UNKNOWN_ERROR; + case Botan::ErrorType::SystemError: case Botan::ErrorType::IoError: case Botan::ErrorType::OpenSSLError: @@ -42,6 +43,7 @@ int ffi_map_error_type(Botan::ErrorType err) case Botan::ErrorType::ZlibError: case Botan::ErrorType::Bzip2Error: case Botan::ErrorType::LzmaError: + case Botan::ErrorType::DatabaseError: return BOTAN_FFI_ERROR_SYSTEM_ERROR; case Botan::ErrorType::NotImplemented: |