diff options
author | Bodo Möller <bodo@openssl.org> | 2000-05-31 09:51:55 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2000-05-31 09:51:55 +0000 |
commit | 939fff67995df626393a7f0fa6b054cbebaefc39 (patch) | |
tree | 76303626f9f9ecf17df0a5011f145b198fc32c97 /crypto/asn1/a_utctm.c | |
parent | 361ee9733f90d0d3ff9d513b0a65276a790cb52e (diff) | |
download | openssl-939fff67995df626393a7f0fa6b054cbebaefc39.tar.gz |
Add "FIXME" comment.
Diffstat (limited to 'crypto/asn1/a_utctm.c')
-rw-r--r-- | crypto/asn1/a_utctm.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/crypto/asn1/a_utctm.c b/crypto/asn1/a_utctm.c index b855867dc1..e3e5c45906 100644 --- 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. */ } |