diff options
author | Neal H. Walfield <neal@pep.foundation> | 2020-03-31 09:18:17 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2020-03-31 21:22:01 +0200 |
commit | 98c111bb3f266a40f7e81513a5566d5e25aa4cf6 (patch) | |
tree | 66be4660284565ee47828120c39a6d010f7b8bfe | |
parent | 0693bee6431f2020ab9be8b85c59cbac3c5f9ffd (diff) |
openpgp: Use a more accurate lifetime.
-rw-r--r-- | openpgp/src/cert/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/cert/mod.rs b/openpgp/src/cert/mod.rs index ae3d063d..26b35bf6 100644 --- a/openpgp/src/cert/mod.rs +++ b/openpgp/src/cert/mod.rs @@ -1450,7 +1450,7 @@ impl<'a> ValidCert<'a> { /// Returns the amalgamated primary key. pub fn primary_key(&self) - -> ValidPrimaryKeyAmalgamation<key::PublicParts> + -> ValidPrimaryKeyAmalgamation<'a, key::PublicParts> { self.cert.primary_key().with_policy(self.policy, self.time) .expect("A ValidKeyAmalgamation must have a ValidPrimaryKeyAmalgamation") |