diff options
author | Neal H. Walfield <neal@pep.foundation> | 2019-09-06 12:37:17 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2019-09-17 10:26:25 +0200 |
commit | 0012dc4f4f99d2c4aea94bc63dc64e126cd3a306 (patch) | |
tree | f03dbc911934cb7c1c0035eead4c0b18ed82b4eb /openpgp/src/tpk/keyiter.rs | |
parent | f9087297f953ac9e458f1e131769dd0f8d876e74 (diff) |
openpgp: Add a timestamp arg to ComponentBinding::binding_signature
- Change ComponentBinding::binding_signature to take an optional
timestamp and return the self signature that is active at that
time.
Diffstat (limited to 'openpgp/src/tpk/keyiter.rs')
-rw-r--r-- | openpgp/src/tpk/keyiter.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/tpk/keyiter.rs b/openpgp/src/tpk/keyiter.rs index c1383c73..e865a176 100644 --- a/openpgp/src/tpk/keyiter.rs +++ b/openpgp/src/tpk/keyiter.rs @@ -100,7 +100,7 @@ impl<'a, P: 'a + key::KeyParts, R: 'a + key::KeyRole> Iterator tpk.primary().key().into()) } else { self.subkey_iter.next() - .map(|sk_binding| (sk_binding.binding_signature(), + .map(|sk_binding| (sk_binding.binding_signature(None), sk_binding.revoked(None), sk_binding.key().into(),))? }; |