Loading crypto/asn1/a_utctm.c +27 −22 Original line number Diff line number Diff line Loading @@ -291,5 +291,10 @@ time_t ASN1_UTCTIME_get(const ASN1_UTCTIME *s) } #undef g2 return timegm(&tm)-offset*60; return timegm(&tm)-offset*60; /* FIXME: timegm is non-standard, * typically we only have mktime (which * interprets the struct tm according to * the current time zone setting). * Also time_t is inappropriate for general * UTC times because it may a 32 bit type. */ } Loading
crypto/asn1/a_utctm.c +27 −22 Original line number Diff line number Diff line Loading @@ -291,5 +291,10 @@ time_t ASN1_UTCTIME_get(const ASN1_UTCTIME *s) } #undef g2 return timegm(&tm)-offset*60; return timegm(&tm)-offset*60; /* FIXME: timegm is non-standard, * typically we only have mktime (which * interprets the struct tm according to * the current time zone setting). * Also time_t is inappropriate for general * UTC times because it may a 32 bit type. */ }