diff options
Diffstat (limited to 'store/src')
-rw-r--r-- | store/src/backend/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/store/src/backend/mod.rs b/store/src/backend/mod.rs index b9fc1a9a..412011b1 100644 --- a/store/src/backend/mod.rs +++ b/store/src/backend/mod.rs @@ -806,8 +806,8 @@ 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() { - let keyid = key.keyid().as_u64() + for ka in cert.keys() { + let keyid = ka.key().keyid().as_u64() .expect("computed keyid is valid"); let r = c.execute( |