summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/x509/output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/x509/output.c b/lib/x509/output.c
index 90a94fc181..e8d8127915 100644
--- a/lib/x509/output.c
+++ b/lib/x509/output.c
@@ -524,7 +524,7 @@ print_cert (gnutls_string * str, gnutls_x509_crt_t cert, int notsigned)
if (gmtime_r (&tim, &t) == NULL)
addf (str, "error: gmtime_r (%d)\n", t);
- else if (strftime (s, max, "%a %b %e %H:%M:%S %Z %Y", &t) == 0)
+ else if (strftime (s, max, "%a %b %e %H:%M:%S UTC %Y", &t) == 0)
addf (str, "error: strftime (%d)\n", t);
else
addf (str, "\t\tNot Before: %s\n", s);
@@ -538,7 +538,7 @@ print_cert (gnutls_string * str, gnutls_x509_crt_t cert, int notsigned)
if (gmtime_r (&tim, &t) == NULL)
addf (str, "error: gmtime_r (%d)\n", t);
- else if (strftime (s, max, "%a %b %e %H:%M:%S %Z %Y", &t) == 0)
+ else if (strftime (s, max, "%a %b %e %H:%M:%S UTC %Y", &t) == 0)
addf (str, "error: strftime (%d)\n", t);
else
addf (str, "\t\tNot After: %s\n", s);