Bug #71512 [Opn->Csd]: SSL Support not checked during configure
| From: | ab@php.net | Date: | Fri, 15 Apr 2016 10:14:24 +0000 |
| Subject: | Bug #71512 [Opn->Csd]: SSL Support not checked during configure | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-200561@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71512&edit=1
ID: 71512
Updated by: ab@php.net
Reported by: andy at asjohnson dot com
Summary: SSL Support not checked during configure
-Status: Open
+Status: Closed
Type: Bug
Package: PostgreSQL related
Operating System: Linux
PHP Version: 7.0.2
-Assigned To:
+Assigned To: ab
Block user comment: N
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2016-02-03 14:06:35] 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();
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71512&edit=1