X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/5e1b22d763640c4d7a09d07920403d8d491b4410..HEAD:/keydb_fs.c diff --git a/keydb_fs.c b/keydb_fs.c index ea09c7c..eacf1c6 100644 --- a/keydb_fs.c +++ b/keydb_fs.c @@ -329,13 +329,14 @@ static int fs_store_key(struct openpgp_publickey *publickey, bool intrans, struct openpgp_packet_list *packets = NULL; struct openpgp_packet_list *list_end = NULL; struct openpgp_publickey *next = NULL; - uint64_t keyid = get_keyid(publickey); + uint64_t keyid; struct ll *wordlist = NULL, *wl = NULL; struct skshash hash; uint64_t *subkeyids = NULL; uint32_t hashid; int i = 0; + get_keyid(publickey, &keyid); if (!intrans) fs_starttrans();