mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
Fix keygrip computation.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
395bcbc0ff
commit
aa8c5d12ef
@ -350,7 +350,7 @@ examine_public_key (struct token *token, struct key *k, unsigned long keytype,
|
||||
k->flags &= ~KEY_FLAGS_NO_PUBKEY;
|
||||
if ((modulus[0] & 0x80))
|
||||
{
|
||||
memmove (modulus+1, modulus, templ[1].ulValueLen);
|
||||
memmove (modulus+1, modulus, templ[0].ulValueLen);
|
||||
templ[0].ulValueLen++;
|
||||
modulus[0] = 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user