From: Jonathan McDowell Date: Mon, 7 Jun 2004 20:59:05 +0000 (+0000) Subject: Fixup for 64bit key ids in gpgwww. X-Git-Tag: 0.3.0~39 X-Git-Url: https://the.earth.li/gitweb/?p=onak.git;a=commitdiff_plain;h=6bf59599ecd9e30e91c5eefa22472ee080315c30 Fixup for 64bit key ids in gpgwww. Fix gpgwww to not truncate keyids to 32bits; if the backends don't support this then they should do it themselves. --- diff --git a/gpgwww.c b/gpgwww.c index 570f1a8..f2551ed 100644 --- a/gpgwww.c +++ b/gpgwww.c @@ -94,7 +94,7 @@ int getkeyspath(uint64_t have, uint64_t want, int count) curkey = findinhash(keyinfoa->parent); while (curkey != NULL && curkey->keyid != 0) { if (curkey->keyid != fullwant && fetch_key( - curkey->keyid & 0xFFFFFFFF, + curkey->keyid, &publickey, false)) { flatten_publickey(publickey, &packets, @@ -114,7 +114,7 @@ int getkeyspath(uint64_t have, uint64_t want, int count) /* * Add the destination key to the list of returned keys. */ - if (fetch_key(fullwant & 0xFFFFFFFF, &publickey, false)) { + if (fetch_key(fullwant, &publickey, false)) { flatten_publickey(publickey, &packets, &list_end);