diff --git a/g10/ChangeLog b/g10/ChangeLog index 6af94beb7..2703fe34e 100644 --- a/g10/ChangeLog +++ b/g10/ChangeLog @@ -1,5 +1,8 @@ 2002-06-14 David Shaw + * 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. diff --git a/g10/free-packet.c b/g10/free-packet.c index f13882d3e..e760999be 100644 --- a/g10/free-packet.c +++ b/g10/free-packet.c @@ -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; } - -