php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38486 openssl extension does not build correctly
Submitted: 2006-08-17 23:35 UTC Modified: 2006-08-18 13:05 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: judas dot iscariote at gmail dot com Assigned: pajoye (profile)
Status: Closed Package: Compile Failure
PHP Version: 5.2.0RC2 OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: judas dot iscariote at gmail dot com
New email:
PHP Version: OS:

 

 [2006-08-17 23:35 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-18 08:01 UTC] tony2001@php.net
Pierre, it's your code..
 [2006-08-18 13:05 UTC] tony2001@php.net
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.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 14:04:04 2025 UTC