php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76174 openssl extension fails to build with LibreSSL 2.7
Submitted: 2018-04-01 20:30 UTC Modified: 2018-05-21 17:00 UTC
Votes:4
Avg. Score:4.2 ± 0.8
Reproduced:4 of 4 (100.0%)
Same Version:3 (75.0%)
Same OS:1 (25.0%)
From: brnrd at FreeBSD dot org Assigned: bukka (profile)
Status: Closed Package: OpenSSL related
PHP Version: 7.2.4 OS: FreeBSD 11.1-p8 amd64
Private report: No CVE-ID: None
 [2018-04-01 20:30 UTC] brnrd at FreeBSD dot org
Description:
------------
The openssl extension fails to build with LibreSSL 2.7.

LibreSSL 2.7 added the OpenSSL 1.1 API causing conflicts on already defined methods.

See also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226902


Patches

7116-patch-ext-openssl_openssl.c (last revision 2018-04-04 14:33 UTC by grantbayley at wiretapped dot net)
patch-ext-openssl_openssl.c (last revision 2018-04-01 20:34 UTC by brnrd at FreeBSD dot org)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-04-04 14:34 UTC] grantbayley at wiretapped dot net
Added patch for identical scenario (against LibreSSL 2.7.2) for 7.1.16.
 [2018-05-03 18:47 UTC] nephatrine at gmail dot com
Also running into this issue on Alpine using LibreSSL 2.7.2 and trying to build PHP 7.2 openssl extension.
 [2018-05-21 16:41 UTC] bukka@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: bukka
 [2018-05-21 17:00 UTC] bukka@php.net
Created a PR with different patch as I wanted to simplify that pre-processing for some time: https://github.com/php/php-src/pull/3246
 [2018-05-22 12:32 UTC] bukka@php.net
Automatic comment on behalf of bukka
Revision: http://git.php.net/?p=php-src.git;a=commit;h=68c3d09c2c1b88eafcf8b82af24f77756fd1d77f
Log: Fix bug #76174 (openssl extension fails to build with LibreSSL 2.7)
 [2018-05-22 12:32 UTC] bukka@php.net
-Status: Assigned +Status: Closed
 [2018-05-22 12:40 UTC] bukka@php.net
Automatic comment on behalf of bukka
Revision: http://git.php.net/?p=php-src.git;a=commit;h=68c3d09c2c1b88eafcf8b82af24f77756fd1d77f
Log: Fix bug #76174 (openssl extension fails to build with LibreSSL 2.7)
 [2018-05-22 12:41 UTC] bukka@php.net
Automatic comment on behalf of bukka
Revision: http://git.php.net/?p=php-src.git;a=commit;h=68c3d09c2c1b88eafcf8b82af24f77756fd1d77f
Log: Fix bug #76174 (openssl extension fails to build with LibreSSL 2.7)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Oct 13 05:01:27 2024 UTC