mirror of
https://github.com/pcvolkmer/cert-tools.git
synced 2025-07-01 14:02:54 +00:00
chore: code cleanup
This commit is contained in:
@ -47,7 +47,7 @@ fn asn1time(time: &SystemTime) -> Asn1Time {
|
||||
.expect("time not went backwards")
|
||||
.as_secs() as i64,
|
||||
)
|
||||
.unwrap()
|
||||
.unwrap()
|
||||
}
|
||||
|
||||
#[derive(PartialEq)]
|
||||
|
@ -97,7 +97,7 @@ fn main() -> Result<(), ()> {
|
||||
Ok(pem) => {
|
||||
println!("{pem}");
|
||||
eprintln!("{}", style("success").green());
|
||||
},
|
||||
}
|
||||
Err(err) => eprintln!("{}", style(err).red()),
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user