diff --git a/matrix_sdk_crypto/src/file_encryption/mod.rs b/matrix_sdk_crypto/src/file_encryption/mod.rs index 481659dd..fc353f2d 100644 --- a/matrix_sdk_crypto/src/file_encryption/mod.rs +++ b/matrix_sdk_crypto/src/file_encryption/mod.rs @@ -2,4 +2,4 @@ mod attachments; mod key_export; pub use attachments::{AttachmentDecryptor, AttachmentEncryptor, DecryptorError, EncryptionInfo}; -pub use key_export::{decrypt_key_export, encrypt_key_export}; +pub use key_export::{decrypt_key_export, encrypt_key_export, KeyExportError}; diff --git a/matrix_sdk_crypto/src/lib.rs b/matrix_sdk_crypto/src/lib.rs index 96dde71a..1fef664e 100644 --- a/matrix_sdk_crypto/src/lib.rs +++ b/matrix_sdk_crypto/src/lib.rs @@ -42,7 +42,7 @@ mod verification; pub use error::{MegolmError, OlmError}; pub use file_encryption::{ decrypt_key_export, encrypt_key_export, AttachmentDecryptor, AttachmentEncryptor, - DecryptorError, EncryptionInfo, + DecryptorError, EncryptionInfo, KeyExportError, }; pub use identities::{ Device, LocalTrust, OwnUserIdentity, ReadOnlyDevice, UserDevices, UserIdentities, UserIdentity,