1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00

* photoid.c (show_photos): Work properly when not called with a public

key.
This commit is contained in:
David Shaw 2002-06-02 22:19:39 +00:00
parent ee39ad5750
commit e96f8f1fe0
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2002-06-02 David Shaw <dshaw@jabberwocky.com>
* photoid.c (show_photos): Work properly when not called with a
public key.
2002-05-31 David Shaw <dshaw@jabberwocky.com> 2002-05-31 David Shaw <dshaw@jabberwocky.com>
* sign.c (mk_notation_and_policy): Free unneeded buffer. * sign.c (mk_notation_and_policy): Free unneeded buffer.

View File

@ -220,11 +220,12 @@ void show_photos(const struct user_attribute *attrs,
int i; int i;
struct expando_args args; struct expando_args args;
u32 len; u32 len;
u32 kid[2]; u32 kid[2]={0,0};
memset(&args,0,sizeof(args)); memset(&args,0,sizeof(args));
args.pk=pk; args.pk=pk;
if(pk)
keyid_from_pk(pk,kid); keyid_from_pk(pk,kid);
for(i=0;i<count;i++) for(i=0;i<count;i++)