struct openpgp_packet_list *list_end = NULL;
struct stats_key *keyinfoa, *keyinfob, *curkey;
uint64_t fullhave, fullwant;
- int rec;
int pathlen = 0;
fullhave = config.dbbackend->getfullkeyid(have);
* Fill the tree info up.
*/
initcolour(true);
- rec = findpath(keyinfoa, keyinfob);
+ findpath(keyinfoa, keyinfob);
keyinfob->parent = 0;
if (keyinfoa->colour == 0) {
pathlen = count;
curkey = findinhash(keyinfoa->parent);
while (curkey != NULL && curkey->keyid != 0) {
if (curkey->keyid != fullwant &&
- config.dbbackend->fetch_key(
+ config.dbbackend->fetch_key_id(
curkey->keyid,
&publickey, false)) {
flatten_publickey(publickey,
/*
* Add the destination key to the list of returned keys.
*/
- if (config.dbbackend->fetch_key(fullwant, &publickey, false)) {
+ if (config.dbbackend->fetch_key_id(fullwant, &publickey, false)) {
flatten_publickey(publickey,
&packets,
&list_end);