summaryrefslogtreecommitdiffstats
path: root/tool/src
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2019-09-18 14:23:55 +0200
committerNeal H. Walfield <neal@pep.foundation>2019-09-18 15:22:50 +0200
commit212202e5bec054cc3b2b83edffdd8b83db5bf011 (patch)
treec70a8449148eaf23af1bb6d7ee15fd0aba4a029f /tool/src
parent446dfdbcb63af00daa3a777958419e1dfb6fc737 (diff)
openpgp: Combine Signature4::key_alive and its _at variant.
- Combine Signature4::key_alive and Signature4::key_alive_at. - Use an Into<Option<time::Tm>> to distinguish the two previous cases: the current time (None), and a specific time (a time::Tm).
Diffstat (limited to 'tool/src')
-rw-r--r--tool/src/commands/inspect.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/src/commands/inspect.rs b/tool/src/commands/inspect.rs
index e1e8a217..438a2f77 100644
--- a/tool/src/commands/inspect.rs
+++ b/tool/src/commands/inspect.rs
@@ -178,7 +178,7 @@ fn inspect_key<P, R>(output: &mut io::Write,
if let Some(sig) = binding_signature {
if sig.key_expired(key, None) {
writeln!(output, "{} Expired", indent)?;
- } else if ! sig.key_alive(key) {
+ } else if ! sig.key_alive(key, None) {
writeln!(output, "{} Not yet valid", indent)?;
}
}