aboutsummaryrefslogtreecommitdiffstats
path: root/g10/card-util.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2005-03-14 20:41:20 +0000
committerWerner Koch <[email protected]>2005-03-14 20:41:20 +0000
commita177090f378cef71f363ef0e56c3913763cc6d5f (patch)
tree17034b7dfe2021e728fe8e5491648058cf41ecdc /g10/card-util.c
parent* cardglue.c (pin_cb): Disable debug output. (diff)
downloadgnupg-a177090f378cef71f363ef0e56c3913763cc6d5f.tar.gz
gnupg-a177090f378cef71f363ef0e56c3913763cc6d5f.zip
* card-util.c (card_status): Use isotimestamp and not the
localized asctimestamp to match the timezone used in the key information. * miscutil.c (isotimestamp): New.
Diffstat (limited to 'g10/card-util.c')
-rw-r--r--g10/card-util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/g10/card-util.c b/g10/card-util.c
index c63335b48..4f25c5ef5 100644
--- a/g10/card-util.c
+++ b/g10/card-util.c
@@ -426,17 +426,17 @@ card_status (FILE *fp, char *serialno, size_t serialnobuflen)
print_sha1_fpr (fp, info.fpr1valid? info.fpr1:NULL);
if (info.fpr1valid && info.fpr1time)
tty_fprintf (fp, " created ....: %s\n",
- asctimestamp (info.fpr1time));
+ isotimestamp (info.fpr1time));
tty_fprintf (fp, "Encryption key....:");
print_sha1_fpr (fp, info.fpr2valid? info.fpr2:NULL);
if (info.fpr2valid && info.fpr2time)
tty_fprintf (fp, " created ....: %s\n",
- asctimestamp (info.fpr2time));
+ isotimestamp (info.fpr2time));
tty_fprintf (fp, "Authentication key:");
print_sha1_fpr (fp, info.fpr3valid? info.fpr3:NULL);
if (info.fpr3valid && info.fpr3time)
tty_fprintf (fp, " created ....: %s\n",
- asctimestamp (info.fpr3time));
+ isotimestamp (info.fpr3time));
tty_fprintf (fp, "General key info..: ");
thefpr = (info.fpr1valid? info.fpr1 : info.fpr2valid? info.fpr2 :