X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/5e1b22d763640c4d7a09d07920403d8d491b4410..94ffe75fd3251c74320167cf94604e73fdb99dfc:/keydb_keyd.c diff --git a/keydb_keyd.c b/keydb_keyd.c index 0f501fe..26f2f27 100644 --- a/keydb_keyd.c +++ b/keydb_keyd.c @@ -274,7 +274,7 @@ static int keyd_store_key(struct openpgp_publickey *publickey, bool intrans, uint32_t cmd = KEYD_CMD_STORE; uint64_t keyid; - keyid = get_keyid(publickey); + get_keyid(publickey, &keyid); if (update) { keyd_delete_key(keyid, false);