summaryrefslogtreecommitdiff
path: root/ext/openssl
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2001-04-05 08:40:27 +0000
committerWez Furlong <wez@php.net>2001-04-05 08:40:27 +0000
commit486d3bef182a0e9854214748a6a6046579e99054 (patch)
treeb604a185f74a447ea3ba27fa239989a0cf772893 /ext/openssl
parent8960888c975b36a154279750aa31bfc05e3df30d (diff)
downloadphp-git-486d3bef182a0e9854214748a6a6046579e99054.tar.gz
Fix for Bug #10168 (is_dst undeclared)
Diffstat (limited to 'ext/openssl')
-rw-r--r--ext/openssl/openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c
index 9c28e44403..9e9f4433d0 100644
--- a/ext/openssl/openssl.c
+++ b/ext/openssl/openssl.c
@@ -456,7 +456,7 @@ static time_t asn1_time_to_time_t(ASN1_UTCTIME * timestr)
** the value of timezone - 3600 seconds. Otherwise, we need to overcorrect and
** set the adjustment to the main timezone + 3600 seconds.
*/
- gmadjust = -(is_dst ? timezone - 3600 : timezone + 3600);
+ gmadjust = -(thetime.tm_isdst ? timezone - 3600 : timezone + 3600);
#endif
ret += gmadjust;