ID: 10168 Updated by: jmoore Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Closed Bug Type: Compile Failure Operating system: PHP Version: 4.0 Latest CVS (04/04/2001) Assigned To: Comments: Fixed && no Feedback Previous Comments: --------------------------------------------------------------------------- [2001-04-05 04:48:26] [EMAIL PROTECTED] Thanks for pointing this out. That line should read: gmadjust = -(thetime.tm_isdst ? timezone - 3600 : timezone + 3600); so thats thetime.tm_isdst instead of is_dst. Sorry about that - my system has gmtoff, so I didn't catch this. Please either update your CVS or make the change and confirm that this works correct. --------------------------------------------------------------------------- [2001-04-04 15:48:17] [EMAIL PROTECTED] openssl.c: In function `asn1_time_to_time_t': openssl.c:459: `is_dst' undeclared (first use in this function) openssl.c:459: (Each undeclared identifier is reported only once openssl.c:459: for each function it appears in.) make[1]: *** [openssl.lo] Error 1 make[1]: Leaving directory `/space/pruebas/php4/ext/openssl' make: *** [all-recursive] Error 1 is_dst (as I saw in some other c files) should be defined at the begining of the function `asn1_time_to_time_t', but it's not. So I declared it as int with default value -1 and looks like that fixed it. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10168&edit=2 -- PHP Development 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]