projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
361ee97
)
Add "FIXME" comment.
author
Bodo Möller
<bodo@openssl.org>
Wed, 31 May 2000 09:51:55 +0000
(09:51 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Wed, 31 May 2000 09:51:55 +0000
(09:51 +0000)
crypto/asn1/a_utctm.c
patch
|
blob
|
history
diff --git
a/crypto/asn1/a_utctm.c
b/crypto/asn1/a_utctm.c
index b855867dc1d30693bff1e8aa925f95884d64eccc..e3e5c45906ed19408ee21e583b208a95ba5c80e9 100644
(file)
--- a/
crypto/asn1/a_utctm.c
+++ b/
crypto/asn1/a_utctm.c
@@
-291,5
+291,12
@@
time_t ASN1_UTCTIME_get(const ASN1_UTCTIME *s)
}
#undef g2
- return mktime(&tm)-offset*60;
+ return mktime(&tm)-offset*60; /* FIXME: mktime assumes the current timezone
+ * instead of UTC, and unless we rewrite OpenSSL
+ * in Lisp we cannot locally change the timezone
+ * without possibly interfering with other parts
+ * of the program. timegm, which uses UTC, is
+ * non-standard.
+ * Also time_t is inappropriate for general
+ * UTC times because it may a 32 bit type. */
}