mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-23 10:29:58 +01:00
2003-09-26 Timo Schulz <twoaday@freakmail.de>
* card_status (card_status): Do not use fputs since the fp parameter can be NULL. This fixes a segv.
This commit is contained in:
parent
791e69e3e9
commit
acd7f7c70d
@ -1,3 +1,8 @@
|
|||||||
|
2003-09-26 Timo Schulz <twoaday@freakmail.de>
|
||||||
|
|
||||||
|
* card_status (card_status): Do not use fputs since the fp
|
||||||
|
parameter can be NULL. This fixes a segv.
|
||||||
|
|
||||||
2003-09-24 Werner Koch <wk@gnupg.org>
|
2003-09-24 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
* card-util.c (print_isoname,card_status): Handle opt.with_colons.
|
* card-util.c (print_isoname,card_status): Handle opt.with_colons.
|
||||||
|
@ -355,7 +355,7 @@ card_status (FILE *fp)
|
|||||||
if (info.fpr1valid && !get_pubkey_byfprint (pk, info.fpr1, 20))
|
if (info.fpr1valid && !get_pubkey_byfprint (pk, info.fpr1, 20))
|
||||||
print_pubkey_info (fp, pk);
|
print_pubkey_info (fp, pk);
|
||||||
else
|
else
|
||||||
fputs ("[none]\n", fp);
|
tty_fprintf (fp, "[none]\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
free_public_key (pk);
|
free_public_key (pk);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user