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 1bc0895 commit 1cc4632
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 @@ -31,7 +31,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
fs::write("certs/cert.der", der_serialized)?;
fs::write(
"certs/key.pem",
&cert.serialize_private_key_pem().as_bytes(),
cert.serialize_private_key_pem().as_bytes(),
)?;
fs::write("certs/key.der", &cert.serialize_private_key_der())?;
Ok(())
Expand Down

0 comments on commit 1cc4632

Please sign in to comment.