}
get_skshash(publickey, &hash);
- hashid = (hash.hash[0] << 24) + (hash.hash[1] << 16) +
- (hash.hash[2] << 8) + hash.hash[3];
+ hashid = hash.hash[0];
+ hashid <<= 8;
+ hashid |= hash.hash[1];
+ hashid <<= 8;
+ hashid |= hash.hash[2];
+ hashid <<= 8;
+ hashid |= hash.hash[3];
prove_path_to(hashid, "skshash", dbctx->config->location);
skshashpath(wbuffer, sizeof(wbuffer), &hash,
dbctx->config->location);
wl = wl->next;
}
+ llfree(wordlist, free);
+ wordlist = NULL;
subkeyids = keysubkeys(pk);
i = 0;
keypath(buffer, sizeof(buffer), keyid, dbctx->config->location);
unlink(buffer);
+ free_publickey(pk);
+
if (!intrans)
fs_endtrans(dbctx);
return 1;