1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

Some last minute tweaks - type fixes from Stefan and win32 temp files

from Timo.
This commit is contained in:
David Shaw 2001-12-22 15:22:59 +00:00
parent 184f9e5739
commit 2a53bb0e24
4 changed files with 40 additions and 11 deletions

View file

@ -46,9 +46,10 @@
PKT_user_id *generate_photo_id(PKT_public_key *pk)
{
PKT_user_id *uid;
int error=1,i,len;
int error=1,i;
unsigned int len;
char *filename=NULL;
unsigned char *photo=NULL;
byte *photo=NULL;
byte header[16];
IOBUF file;
@ -194,7 +195,8 @@ void show_photo(const struct user_attribute *attr,PKT_public_key *pk)
case 'f': /* fingerprint */
{
byte array[MAX_FINGERPRINT_LEN];
int len,i;
size_t len;
int i;
fingerprint_from_pk(pk,array,&len);