aboutsummaryrefslogtreecommitdiffstats
path: root/g10
diff options
context:
space:
mode:
Diffstat (limited to 'g10')
-rw-r--r--g10/ChangeLog4
-rw-r--r--g10/card-util.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog
index 1f02e477f..c493d2161 100644
--- a/g10/ChangeLog
+++ b/g10/ChangeLog
@@ -1,5 +1,9 @@
2005-03-14 Werner Koch <[email protected]>
+ * card-util.c (card_status): Use isotimestamp and not the
+ localized asctimestamp to match the timezone used in the key
+ information.
+
* cardglue.c (pin_cb): Disable debug output.
2005-03-11 Werner Koch <[email protected]>
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 :