Skip to content

Commit

Permalink
Rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kletterstein committed Oct 16, 2024
1 parent 85845d7 commit 48e0a4e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions cms/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -935,10 +935,9 @@ where
rng: &mut Self::Rng,
) -> Result<RecipientInfo> {
let padded_cek = self.pad_content_encryption_key(content_encryption_key, rng)?;
let encrypted_key = self.key_encryptor.encrypt_rfc3211(
padded_cek.as_slice(),
rng,
)?;
let encrypted_key = self
.key_encryptor
.encrypt_rfc3211(padded_cek.as_slice(), rng)?;
let enc_key = OctetString::new(encrypted_key)?;
Ok(RecipientInfo::Pwri(PasswordRecipientInfo {
version: self.recipient_info_version(),
Expand Down

0 comments on commit 48e0a4e

Please sign in to comment.