From ff683602f250e90e83acbbd580252fa8ce6c541a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Tue, 30 Mar 2021 13:52:57 +0200 Subject: [PATCH] crypto: Export the KeysExport error --- matrix_sdk_crypto/src/file_encryption/mod.rs | 2 +- matrix_sdk_crypto/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,