diff --git a/examples/sign-leaf-with-ca.rs b/examples/sign-leaf-with-ca.rs index 60795207..fb54129f 100644 --- a/examples/sign-leaf-with-ca.rs +++ b/examples/sign-leaf-with-ca.rs @@ -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}",); } @@ -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);