PHP 4.0 Bug #10168: openssl.c function uses an undeclared variable
| From: | martin at bugs dot unl dot edu dot ar | Date: | Wed, 04 Apr 2001 19:48:17 +0000 |
| Subject: | PHP 4.0 Bug #10168: openssl.c function uses an undeclared variable | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-50879@lists.php.net to get a copy of this message | ||
From: martin@bugs.unl.edu.ar
Operating system: Solaris
PHP version: 4.0 Latest CVS (04/04/2001)
PHP Bug Type: Compile Failure
Bug description: openssl.c function uses an undeclared variable
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.
--
Edit Bug report at: http://bugs.php.net/?id=10168&edit=1