Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kletterstein committed Oct 16, 2024
1 parent 33cf7a6 commit 85845d7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cms/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -935,9 +935,10 @@ 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 85845d7

Please sign in to comment.