Unverified Commit 60a820fa authored by Mouse's avatar Mouse Committed by GitHub

Update GeneralizedTime.c

As per #493 in vlm/asn1c by Chetan Pandey, fixing the timezone macro
parent 4e477ee1
......@@ -69,7 +69,7 @@ static struct tm *gmtime_r(const time_t *tloc, struct tm *result) {
#ifdef HAVE_TM_GMTOFF
#define GMTOFF(tm) ((tm).tm_gmtoff)
#else /* HAVE_TM_GMTOFF */
#define GMTOFF(tm) (-timezone)
#define GMTOFF(tm) (_timezone)
#endif /* HAVE_TM_GMTOFF */
#if defined(_WIN32)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment