mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-08 12:44:23 +01:00
Allow issuer fpr in unhashed area.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
e561cb1ae0
commit
13e6ec6672
@ -2311,6 +2311,8 @@ parse_signature (IOBUF inp, int pkttype, unsigned long pktlen,
|
||||
* it is a v4 signature the fallback to the issuer. Note that
|
||||
* only the issuer packet is also searched in the unhashed area. */
|
||||
p = parse_sig_subpkt (sig, 1, SIGSUBPKT_ISSUER_FPR, &len);
|
||||
if (!p && sig->version == 5)
|
||||
p = parse_sig_subpkt (sig, 0, SIGSUBPKT_ISSUER_FPR, &len);
|
||||
if (p && len == 21 && p[0] == 4)
|
||||
{
|
||||
sig->keyid[0] = buf32_to_u32 (p + 1 + 12);
|
||||
|
Loading…
x
Reference in New Issue
Block a user