mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-25 20:21:07 +01:00
* free-packet.c (copy_signature): Properly copy a signature that carries a
revocation key on it.
This commit is contained in:
parent
c5a82f99dc
commit
9b506bab88
@ -1,5 +1,8 @@
|
||||
2002-06-14 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* free-packet.c (copy_signature): Properly copy a signature that
|
||||
carries a revocation key on it.
|
||||
|
||||
* pkclist.c (expand_id, expand_group, build_pk_list): Groups now
|
||||
work properly when used in the "Enter the user ID" prompt.
|
||||
|
||||
|
@ -215,6 +215,12 @@ copy_signature( PKT_signature *d, PKT_signature *s )
|
||||
}
|
||||
d->hashed = cp_subpktarea (s->hashed);
|
||||
d->unhashed = cp_subpktarea (s->unhashed);
|
||||
if(s->numrevkeys)
|
||||
{
|
||||
d->revkey=NULL;
|
||||
d->numrevkeys=0;
|
||||
parse_revkeys(d);
|
||||
}
|
||||
return d;
|
||||
}
|
||||
|
||||
@ -539,5 +545,3 @@ cmp_user_ids( PKT_user_id *a, PKT_user_id *b )
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user