mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-05 12:31:50 +01:00
* cert.c (main): Fix test program build warning on OSX.
This commit is contained in:
parent
0ea95fd80f
commit
f99dec9e53
@ -1,3 +1,7 @@
|
|||||||
|
2006-03-30 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* cert.c (main): Fix test program build warning on OSX.
|
||||||
|
|
||||||
2006-03-16 David Shaw <dshaw@jabberwocky.com>
|
2006-03-16 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* cert.c (get_cert): Handle the fixed IPGP type with fingerprint.
|
* cert.c (get_cert): Handle the fixed IPGP type with fingerprint.
|
||||||
|
@ -221,7 +221,7 @@ main(int argc,char *argv[])
|
|||||||
printf("no answer\n");
|
printf("no answer\n");
|
||||||
else if(rc==1)
|
else if(rc==1)
|
||||||
{
|
{
|
||||||
printf("key found: %d bytes\n",iobuf_get_temp_length(iobuf));
|
printf("key found: %d bytes\n",(int)iobuf_get_temp_length(iobuf));
|
||||||
iobuf_close(iobuf);
|
iobuf_close(iobuf);
|
||||||
}
|
}
|
||||||
else if(rc==2)
|
else if(rc==2)
|
||||||
@ -229,7 +229,7 @@ main(int argc,char *argv[])
|
|||||||
if(fpr)
|
if(fpr)
|
||||||
{
|
{
|
||||||
size_t i;
|
size_t i;
|
||||||
printf("Fingerprint found (%d bytes): ",fpr_len);
|
printf("Fingerprint found (%d bytes): ",(int)fpr_len);
|
||||||
for(i=0;i<fpr_len;i++)
|
for(i=0;i<fpr_len;i++)
|
||||||
printf("%02X",fpr[i]);
|
printf("%02X",fpr[i]);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user