Skip to content

Commit

Permalink
Clippy...
Browse files Browse the repository at this point in the history
  • Loading branch information
bkstein committed Dec 13, 2023
1 parent 7126d8e commit 32fd0e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cms/tests/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ fn test_create_password_recipient_info() {
let recipient_info = enveloped_data.recip_infos.0.get(0).unwrap();
if let RecipientInfo::Pwri(recipient_info) = recipient_info {
let decrypted_content_encryption_key =
cms_pwri_decrypt_content_encryption_key(recipient_info, &challenge_password);
cms_pwri_decrypt_content_encryption_key(recipient_info, challenge_password);
let key = cipher::Key::<cbc::Encryptor<Aes128>>::from_slice(
decrypted_content_encryption_key.as_slice(),
)
Expand All @@ -857,7 +857,7 @@ fn test_create_password_recipient_info() {
.unwrap()
.as_bytes(),
);
let content = cbc::Decryptor::<Aes128>::new(&key, &iv)
let content = cbc::Decryptor::<Aes128>::new(&key, iv)
.decrypt_padded_vec_mut::<Pkcs7>(
enveloped_data
.encrypted_content
Expand Down

0 comments on commit 32fd0e1

Please sign in to comment.