Skip to content

Commit 6c8092a

Browse files
quextenHinton
andauthored
Update crates/bitwarden-crypto/src/keys/symmetric_crypto_key.rs
Co-authored-by: Oscar Hinton <[email protected]>
1 parent c51e779 commit 6c8092a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bitwarden-crypto/src/keys/symmetric_crypto_key.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ impl SymmetricCryptoKey {
155155
EncodedSymmetricKey::CoseKey(_) => {
156156
let mut encoded_key: Vec<u8> = encoded_key.into();
157157
pad_key(&mut encoded_key, Self::AES256_CBC_HMAC_KEY_LEN + 1);
158-
Bytes::from(encoded_key)
158+
BitwardenLegacyKeyBytes::from(encoded_key)
159159
}
160160
}
161161
}

0 commit comments

Comments
 (0)