summaryrefslogtreecommitdiffstats
path: root/openpgp/src/cert/components.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/cert/components.rs')
-rw-r--r--openpgp/src/cert/components.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/cert/components.rs b/openpgp/src/cert/components.rs
index 585b47fd..d52bfc37 100644
--- a/openpgp/src/cert/components.rs
+++ b/openpgp/src/cert/components.rs
@@ -293,7 +293,7 @@ impl<C> ComponentBundle<C> {
// because a hard revocation is always valid.
t!(" revocation not alive ({:?} - {:?}): {}",
rev.signature_creation_time().unwrap_or_else(time_zero),
- rev.signature_expiration_time()
+ rev.signature_validity_period()
.unwrap_or_else(|| time::Duration::new(0, 0)),
err);
None