#38486 [Asn->Csd]: openssl extension does not build correctly
| From: | tony2001@php.net | Date: | Fri, 18 Aug 2006 13:05:04 +0000 |
| Subject: | #38486 [Asn->Csd]: openssl extension does not build correctly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-100956@lists.php.net to get a copy of this message | ||
ID: 38486
Updated by: tony2001@php.net
Reported By: judas dot iscariote at gmail dot com
-Status: Assigned
+Status: Closed
Bug Type: Compile Failure
Operating System: linux
PHP Version: 5.2.0RC2
Assigned To: pajoye
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2006-08-18 08:01:22] tony2001@php.net
Pierre, it's your code..
------------------------------------------------------------------------
[2006-08-17 23:35:50] judas dot iscariote at gmail dot com
Description:
------------
openssl extension does not currently build against some slightly older
openssl versions, nor the configure script bails out if a newver
version is required.
Reproduce code:
---------------
try to build openssl extension as shared
Expected result:
----------------
compiled succefully
Actual result:
--------------
/usr/src/packages/BUILD/php-5.2.0RC2/ext/openssl/openssl.c: In function
`zif_openssl_pkey_get_details':
/usr/src/packages/BUILD/php-5.2.0RC2/ext/openssl/openssl.c:2330: error:
`EVP_PKEY_EC' undeclared (first use in this function)
/usr/src/packages/BUILD/php-5.2.0RC2/ext/openssl/openssl.c:2330: error:
(Each undeclared identifier is reported only once
/usr/src/packages/BUILD/php-5.2.0RC2/ext/openssl/openssl.c:2330: error:
for each function it appears in.)
make: *** [ext/openssl/openssl.lo] Error 1
looks like extension needs to check if OPENSSL_NO_EC is **not** defined
before trying to use EVP_PKEY_EC.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38486&edit=1