Index: openssl.c
===================================================================
RCS file: /repository/php4/ext/openssl/openssl.c,v
retrieving revision 1.41
diff -u -r1.41 openssl.c
--- openssl.c	28 Feb 2002 08:26:30 -0000	1.41
+++ openssl.c	10 Mar 2002 09:58:04 -0000
@@ -282,7 +282,11 @@
 	** the value of timezone - 3600 seconds. Otherwise, we need to overcorrect and
 	** set the adjustment to the main timezone + 3600 seconds.
 	*/
+#ifdef __CYGWIN__
+	gmadjust = -(thetime.tm_isdst ? _timezone - 3600 : _timezone + 3600);
+#else
 	gmadjust = -(thetime.tm_isdst ? timezone - 3600 : timezone + 3600);
+#endif
 #endif
 	ret += gmadjust;
 
