diff options
author | Neal H. Walfield <neal@pep.foundation> | 2018-12-17 12:48:07 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2018-12-17 15:45:59 +0100 |
commit | 3366d09c94c88bb8366ed470e49ff841f336b894 (patch) | |
tree | 57e4e6dc28cc9457cf57555e941753812d03c34f /store | |
parent | 05e1b5dc9d189e3129f8da2c6beacb014f3fd698 (diff) |
openpgp: Change KeyIter to also return the RevocationStatus.
- A Key's revocation status is a property of its binding, but the
binding is not exposed by KeyIter. Expose it.
Diffstat (limited to 'store')
-rw-r--r-- | store/src/backend/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/store/src/backend/mod.rs b/store/src/backend/mod.rs index 98e05fa4..39db1279 100644 --- a/store/src/backend/mod.rs +++ b/store/src/backend/mod.rs @@ -794,7 +794,7 @@ impl KeyServer { /// Keeps the mapping of (sub)KeyIDs to keys up-to-date. fn reindex_subkeys(c: &Connection, key_id: ID, tpk: &TPK) -> Result<()> { - for (_, key) in tpk.keys() { + for (_, _, key) in tpk.keys() { let keyid = key.fingerprint().to_keyid().as_u64() .expect("computed keyid is valid"); |