diff options
author | Timo Schulz <[email protected]> | 2003-09-26 11:03:08 +0000 |
---|---|---|
committer | Timo Schulz <[email protected]> | 2003-09-26 11:03:08 +0000 |
commit | acd7f7c70d2d482ae175d4b25b2ad066ffac0822 (patch) | |
tree | bb737420d59750e6f5f077a62b0349c214ff8d67 /g10/card-util.c | |
parent | (print_isoname,card_status): Handle opt.with_colons. (diff) | |
download | gnupg-acd7f7c70d2d482ae175d4b25b2ad066ffac0822.tar.gz gnupg-acd7f7c70d2d482ae175d4b25b2ad066ffac0822.zip |
2003-09-26 Timo Schulz <[email protected]>
* card_status (card_status): Do not use fputs since the fp
parameter can be NULL. This fixes a segv.
Diffstat (limited to 'g10/card-util.c')
-rw-r--r-- | g10/card-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/card-util.c b/g10/card-util.c index 9b82e99ea..f42efde61 100644 --- a/g10/card-util.c +++ b/g10/card-util.c @@ -355,7 +355,7 @@ card_status (FILE *fp) if (info.fpr1valid && !get_pubkey_byfprint (pk, info.fpr1, 20)) print_pubkey_info (fp, pk); else - fputs ("[none]\n", fp); + tty_fprintf (fp, "[none]\n"); } free_public_key (pk); |