summaryrefslogtreecommitdiffstats
path: root/openpgp/src/tpk/keyiter.rs
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2019-09-17 16:17:35 +0200
committerNeal H. Walfield <neal@pep.foundation>2019-09-17 16:39:43 +0200
commit1324bc3db18dbf9e27db2903515ac6c8f5b30704 (patch)
treefec18fab616c51f9bc05966261ae75d5fb40bfa8 /openpgp/src/tpk/keyiter.rs
parent922c47f1c4ccc05c3d1f121df02cf685f857e435 (diff)
openpgp: Change TPK::primary_key_signature to take a time.
- Change `TPK::primary_key_signature` and `TPK::primary_key_signature_full` to take an additional parameter, a time. - Return the primary key signature at that time rather than the newest primary key signature.
Diffstat (limited to 'openpgp/src/tpk/keyiter.rs')
-rw-r--r--openpgp/src/tpk/keyiter.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/tpk/keyiter.rs b/openpgp/src/tpk/keyiter.rs
index e865a176..862aa2be 100644
--- a/openpgp/src/tpk/keyiter.rs
+++ b/openpgp/src/tpk/keyiter.rs
@@ -95,7 +95,7 @@ impl<'a, P: 'a + key::KeyParts, R: 'a + key::KeyRole> Iterator
= if ! self.primary {
self.primary = true;
- (tpk.primary_key_signature(),
+ (tpk.primary_key_signature(None),
tpk.revocation_status(),
tpk.primary().key().into())
} else {