diff options
author | Neal H. Walfield <neal@pep.foundation> | 2019-04-01 19:34:19 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2019-04-04 09:13:44 +0200 |
commit | b0a368248e289b6f3d20fb4a7eeef9693f6c0126 (patch) | |
tree | f0f1992733cea58dd19ff2dc629e3e7f29328068 /store/src | |
parent | 19266d145ce2fedb63c6562ccc53848196f019eb (diff) |
openpgp: Avoid key.fingerprint.to_keyid()
- Instead of using key.fingerprint.to_keyid(), use key.keyid().
Diffstat (limited to 'store/src')
-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 8a488028..5ec74356 100644 --- a/store/src/backend/mod.rs +++ b/store/src/backend/mod.rs @@ -795,7 +795,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_all() { - let keyid = key.fingerprint().to_keyid().as_u64() + let keyid = key.keyid().as_u64() .expect("computed keyid is valid"); let r = c.execute( |