Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tbro committed Oct 10, 2023
1 parent 1c9d786 commit 6d45d3d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/sign-leaf-with-ca.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ fn main() {
println!("directly signed end-entity certificate: {end_entity_pem}");

let ca_cert_pem = ca.serialize_pem().unwrap();

println!("ca certificate: {ca_cert_pem}",);
}

Expand All @@ -37,7 +36,6 @@ fn new_ca() -> Certificate {
}

fn new_end_entity() -> Certificate {
let name = "entity.other.host";
let mut params = CertificateParams::new(vec!["entity.other.host".to_owned()]);
let (yesterday, tomorrow) = validity_period();
params.distinguished_name.push(DnType::CommonName, name);
Expand Down

0 comments on commit 6d45d3d

Please sign in to comment.