X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=keydb_fs.c;h=eacf1c65b15cf1dae48c79e9e59f52503655f873;hb=04327094c64c143143cc2e790aa33890a0e23bff;hp=ea09c7c0dae882e0684f3174c35397e26fccadaa;hpb=5e1b22d763640c4d7a09d07920403d8d491b4410;p=onak.git 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();