php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71512 SSL Support not checked during configure
Submitted: 2016-02-03 14:06 UTC Modified: 2016-04-15 10:14 UTC
From: andy at asjohnson dot com Assigned: ab (profile)
Status: Closed Package: PostgreSQL related
PHP Version: 7.0.2 OS: Linux
Private report: No CVE-ID: None
 [2016-02-03 14:06 UTC] andy at asjohnson dot com
Description:
------------
ext/pgsql/pgsql.c line looks for USE_SSL on line 1255 to print whether or not SSL support is enabled or disabled in the module. SSL support is not checked for and USE_SSL is not set by configure. The module incorrectly reports SSL support is disabled when in fact it is enabled and working.

Test script:
---------------
phpinfo();


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-04-15 10:14 UTC] ab@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 [2016-04-15 10:14 UTC] ab@php.net
Thanks for the report. The macro you refer to is defined in the libpq headers, no check in needed in the configure. However, in Postgres >= 9.5 it was changed to USE_OPENSSL. This only can be the issue, otherwise - if the libpq headers don't define this macro, no SSL support is expected. This is anyway fixed in the latest 7.0 versions.

Thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 21:01:28 2024 UTC