Skip to content

Commit 7cbf5cb

Browse files
committed
Fix build
1 parent 39f0c08 commit 7cbf5cb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/bitwarden-wasm-internal/src/pure_crypto.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ pub struct PureCrypto {}
1515
// Encryption
1616
#[wasm_bindgen]
1717
impl PureCrypto {
18+
#[allow(deprecated)]
1819
#[deprecated]
1920
pub fn symmetric_decrypt(enc_string: String, key: Vec<u8>) -> Result<String, CryptoError> {
2021
Self::symmetric_decrypt_string(enc_string, key)
@@ -34,6 +35,7 @@ impl PureCrypto {
3435
EncString::from_str(&enc_string)?.decrypt_with_key(&SymmetricCryptoKey::try_from(key)?)
3536
}
3637

38+
#[allow(deprecated)]
3739
#[deprecated]
3840
pub fn symmetric_decrypt_array_buffer(
3941
enc_bytes: Vec<u8>,

0 commit comments

Comments
 (0)