Skip to content

Commit 34cf082

Browse files
committed
Cleanup
1 parent efa1310 commit 34cf082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bitwarden-crypto/src/safe/key_wrap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ impl SymmetricCryptoKey {
113113
// content format to be either octet stream, in case the wrapped key is a Aes256CbcHmacKey
114114
// or `Aes256CbcKey`, or by specifying the content format to be CoseKey, in case the
115115
// wrapped key is a `XChaCha20Poly1305Key`.
116-
match (&wrapping_key, self) {
116+
match (wrapping_key, self) {
117117
(Aes256CbcHmacKey(_), Aes256CbcHmacKey(_) | Aes256CbcKey(_)) => {
118118
let encoded = self.to_encoded();
119119
let enc_string = encoded.encrypt_with_key(wrapping_key)?;

0 commit comments

Comments
 (0)