diff options
| author | Wez Furlong <wez@php.net> | 2001-04-05 08:40:27 +0000 |
|---|---|---|
| committer | Wez Furlong <wez@php.net> | 2001-04-05 08:40:27 +0000 |
| commit | 486d3bef182a0e9854214748a6a6046579e99054 (patch) | |
| tree | b604a185f74a447ea3ba27fa239989a0cf772893 /ext/openssl | |
| parent | 8960888c975b36a154279750aa31bfc05e3df30d (diff) | |
| download | php-git-486d3bef182a0e9854214748a6a6046579e99054.tar.gz | |
Fix for Bug #10168 (is_dst undeclared)
Diffstat (limited to 'ext/openssl')
| -rw-r--r-- | ext/openssl/openssl.c | 2 |
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; |
