mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Fix keygrip computation.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
395bcbc0ff
commit
aa8c5d12ef
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue