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;
 



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to