From 6bf59599ecd9e30e91c5eefa22472ee080315c30 Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Mon, 7 Jun 2004 20:59:05 +0000 Subject: [PATCH] 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. --- gpgwww.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.5