summaryrefslogtreecommitdiffstats
path: root/store
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2019-12-19 21:47:19 +0100
committerNeal H. Walfield <neal@pep.foundation>2019-12-19 21:51:19 +0100
commitb3ba97146f534ac5cf67db7f72d8a633112d0a18 (patch)
tree581c64936f0a857dd1f0fbf75c7a4ddf243d8656 /store
parent2b2b5c8905d0e823d03b5ba2a115298e80e08b74 (diff)
openpgp: Change KeyIter to return a struct instead of a tuple.
- A tuple is just an unnamed, inflexible struct. Use a struct instead. - Fixes #400.
Diffstat (limited to 'store')
-rw-r--r--store/src/backend/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/store/src/backend/mod.rs b/store/src/backend/mod.rs
index 3886f76a..3876767f 100644
--- a/store/src/backend/mod.rs
+++ b/store/src/backend/mod.rs
@@ -806,7 +806,7 @@ impl KeyServer {
/// Keeps the mapping of (sub)KeyIDs to keys up-to-date.
fn reindex_subkeys(c: &Connection, key_id: ID, cert: &Cert) -> Result<()> {
- for (_, _, key) in cert.keys_all() {
+ for key in cert.keys_all().map(|ka| ka.key()) {
let keyid = key.keyid().as_u64()
.expect("computed keyid is valid");