Skip to content

Commit 3cc6ff6

Browse files
authored
Fix string interpolation for rust 1.88.0. (#13630)
1 parent fe8438c commit 3cc6ff6

File tree

1 file changed

+1
-1
lines changed
  • src/rust/cryptography-key-parsing/src

1 file changed

+1
-1
lines changed

src/rust/cryptography-key-parsing/src/pem.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ pub fn encrypt_pem(
108108
let mut pem = pem::Pem::new(tag, encrypted);
109109
pem.headers_mut().add("Proc-Type", "4,ENCRYPTED").unwrap();
110110
pem.headers_mut()
111-
.add("DEK-Info", &format!("AES-256-CBC,{}", iv_hex))
111+
.add("DEK-Info", &format!("AES-256-CBC,{iv_hex}"))
112112
.unwrap();
113113

114114
Ok(pem::encode_config(&pem, ENCODE_CONFIG).into_bytes())

0 commit comments

Comments
 (0)