cvs: php4 /ext/openssl openssl.c

From: Date: Thu, 05 Apr 2001 08:40:26 +0000
Subject: cvs: php4 /ext/openssl openssl.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-4991@lists.php.net to get a copy of this message
wez Thu Apr 5 01:40:26 2001 EDT Modified files: /php4/ext/openssl openssl.c Log: Fix for Bug #10168 (is_dst undeclared) Index: php4/ext/openssl/openssl.c diff -u php4/ext/openssl/openssl.c:1.12 php4/ext/openssl/openssl.c:1.13 --- php4/ext/openssl/openssl.c:1.12 Mon Apr 2 16:14:00 2001 +++ php4/ext/openssl/openssl.c Thu Apr 5 01:40:26 2001 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: openssl.c,v 1.12 2001/04/02 23:14:00 wez Exp $ */ +/* $Id: openssl.c,v 1.13 2001/04/05 08:40:26 wez Exp $ */ #include "php.h" #include "php_openssl.h" @@ -456,7 +456,7 @@ ** 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;

« previous php.cvs (#4991) next »