#38486 [Opn->Asn]: openssl extension does not build correctly
| From: | tony2001@php.net | Date: | Fri, 18 Aug 2006 08:01:22 +0000 |
| Subject: | #38486 [Opn->Asn]: openssl extension does not build correctly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-100925@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: Open
+Status: Assigned
Bug Type: Compile Failure
Operating System: linux
PHP Version: 5.2.0RC2
-Assigned To:
+Assigned To: pajoye
New Comment:
Pierre, it's your code..
Previous Comments:
------------------------------------------------------------------------
[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