aboutsummaryrefslogtreecommitdiff
path: root/src/common/tortls.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-11-23 10:05:16 -0500
committerNick Mathewson <nickm@torproject.org>2012-11-23 10:05:16 -0500
commit864e15cd1c596b2a9dbc610d3aa78b49a4f33355 (patch)
tree4f41dd3906b2fe00639d389c28b7193a53b5908a /src/common/tortls.c
parente6828ea634966259a8f1bb92ef28d8b20b0dc0e4 (diff)
downloadtor-864e15cd1c596b2a9dbc610d3aa78b49a4f33355.tar
tor-864e15cd1c596b2a9dbc610d3aa78b49a4f33355.tar.gz
In comments and logs, say "UTC" not "GMT"
Fix for #6113. Note that the RFC1123 times we generate still all say 'GMT'. I'm going to suggest this is not worth changing.
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r--src/common/tortls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c
index 76924b317..af3059a02 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -2077,7 +2077,7 @@ log_cert_lifetime(int severity, const X509 *cert, const char *problem)
BIO_get_mem_ptr(bio, &buf);
s2 = tor_strndup(buf->data, buf->length);
- strftime(mytime, 32, "%b %d %H:%M:%S %Y GMT", tor_gmtime_r(&now, &tm));
+ strftime(mytime, 32, "%b %d %H:%M:%S %Y UTC", tor_gmtime_r(&now, &tm));
log(severity, LD_GENERAL,
"(certificate lifetime runs from %s through %s. Your time is %s.)",