Skip to content

Commit 3c2984b

Browse files
quextenHinton
andauthored
Update crates/bitwarden-crypto/src/fingerprint.rs
Co-authored-by: Oscar Hinton <[email protected]>
1 parent f6ad513 commit 3c2984b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bitwarden-crypto/src/fingerprint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ mod tests {
8787
197, 3, 219, 56, 77, 109, 47, 72, 251, 131, 36, 240, 96, 169, 31, 82, 93, 166, 242, 3,
8888
33, 213, 2, 3, 1, 0, 1,
8989
];
90-
let key: SpkiPublicKeyBytes = Bytes::from(key.to_vec());
90+
let key = SpkiPublicKeyBytes::from(key);
9191
assert_eq!(
9292
"turban-deftly-anime-chatroom-unselfish",
9393
fingerprint(user_id, &key).unwrap()

0 commit comments

Comments
 (0)