Skip to content

Commit

Permalink
Update rcgen/examples/simple.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel McCarney <[email protected]>
  • Loading branch information
tbro and cpu authored Nov 13, 2023
1 parent 26ef71d commit 22165df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rcgen/examples/simple.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
println!("{pem_serialized}");
println!("{}", cert.serialize_private_key_pem());
std::fs::create_dir_all("certs/")?;
fs::write("certs/cert.pem", &pem_serialized.as_bytes())?;
fs::write("certs/cert.pem", pem_serialized.as_bytes())?;
fs::write("certs/cert.der", &der_serialized)?;
fs::write(
"certs/key.pem",
Expand Down

0 comments on commit 22165df

Please sign in to comment.