Bug #77076 [NEW]: PHP 7.2 + OpenSSL 1.1.1 with deprecation warnings
| From: | dev dot dertin at gmail dot com | Date: | Sat, 27 Oct 2018 22:35:54 +0000 |
| Subject: | Bug #77076 [NEW]: PHP 7.2 + OpenSSL 1.1.1 with deprecation warnings | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-217728@lists.php.net to get a copy of this message | ||
From: dev dot dertin at gmail dot com
Operating system: Debian 9.5
PHP version: 7.2.11
Package: Compile Warning
Bug Type: Bug
Bug description:PHP 7.2 + OpenSSL 1.1.1 with deprecation warnings
Description:
------------
Several warning are found in the compilation of PHP 7.2 together with
the OpenSSL 1.1.1 library
Test environment information:
Debian 9.5
openssl 1.1.1
python2 2.7.15
zlib 1.2.11
lz4 1.8.3
libssh2 1.8.0
nghttp2 1.34.0
curl 7.61.1
cmake 3.12.3
libzip 1.5.1
libcrack2 2.9.6
libxml2 2.9.8
libxslt 1.1.33-rc1
jemalloc 5.1.0
mariadb 10.3
php 7.2.11
nginx 1.15.5
Test script:
---------------
Compile using the following script:
https://github.com/dertin/lemp-stack-debian
Actual result:
--------------
/var/tmp/php_build/php_src/ext/openssl/xp_ssl.c: In function
'php_openssl_select_crypto_method':
/var/tmp/php_build/php_src/ext/openssl/xp_ssl.c:965:3: warning:
'TLSv1_client_method' is deprecated [-Wdeprecated-declarations]
return is_client ? TLSv1_client_method() : TLSv1_server_method();
^~~~~~
In file included from /usr/local/include/openssl/e_os2.h:13:0,
from /usr/local/include/openssl/err.h:13,
from
/var/tmp/php_build/php_src/ext/openssl/php_openssl.h:69,
from
/var/tmp/php_build/php_src/ext/openssl/xp_ssl.c:32:
/usr/local/include/openssl/ssl.h:1854:1: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void))
^
/var/tmp/php_build/php_src/ext/openssl/xp_ssl.c:965:3: warning:
'TLSv1_server_method' is deprecated [-Wdeprecated-declarations]
return is_client ? TLSv1_client_method() : TLSv1_server_method();
^~~~~~
In file included from /usr/local/include/openssl/e_os2.h:13:0,
from /usr/local/include/openssl/err.h:13,
from
/var/tmp/php_build/php_src/ext/openssl/php_openssl.h:69,
from
/var/tmp/php_build/php_src/ext/openssl/xp_ssl.c:32:
/usr/local/include/openssl/ssl.h:1853:1: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void))
^
/var/tmp/php_build/php_src/ext/openssl/xp_ssl.c:968:3: warning:
'TLSv1_1_client_method' is deprecated [-Wdeprecated-declarations]
return is_client ? TLSv1_1_client_method() :
TLSv1_1_server_method();
^~~~~~
In file included from /usr/local/include/openssl/e_os2.h:13:0,
from /usr/local/include/openssl/err.h:13,
from
/var/tmp/php_build/php_src/ext/openssl/php_openssl.h:69,
from
/var/tmp/php_build/php_src/ext/openssl/xp_ssl.c:32:
/usr/local/include/openssl/ssl.h:1860:1: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD
*TLSv1_1_client_method(void))
^
/var/tmp/php_build/php_src/ext/openssl/xp_ssl.c:968:3: warning:
'TLSv1_1_server_method' is deprecated [-Wdeprecated-declarations]
return is_client ? TLSv1_1_client_method() :
TLSv1_1_server_method();
^~~~~~
In file included from /usr/local/include/openssl/e_os2.h:13:0,
from /usr/local/include/openssl/err.h:13,
from
/var/tmp/php_build/php_src/ext/openssl/php_openssl.h:69,
from
/var/tmp/php_build/php_src/ext/openssl/xp_ssl.c:32:
/usr/local/include/openssl/ssl.h:1859:1: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD
*TLSv1_1_server_method(void))
^
/var/tmp/php_build/php_src/ext/openssl/xp_ssl.c:976:3: warning:
'TLSv1_2_client_method' is deprecated [-Wdeprecated-declarations]
return is_client ? TLSv1_2_client_method() :
TLSv1_2_server_method();
^~~~~~
In file included from /usr/local/include/openssl/e_os2.h:13:0,
from /usr/local/include/openssl/err.h:13,
from
/var/tmp/php_build/php_src/ext/openssl/php_openssl.h:69,
from
/var/tmp/php_build/php_src/ext/openssl/xp_ssl.c:32:
/usr/local/include/openssl/ssl.h:1866:1: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD
*TLSv1_2_client_method(void))
^
/var/tmp/php_build/php_src/ext/openssl/xp_ssl.c:976:3: warning:
'TLSv1_2_server_method' is deprecated [-Wdeprecated-declarations]
return is_client ? TLSv1_2_client_method() :
TLSv1_2_server_method();
^~~~~~
In file included from /usr/local/include/openssl/e_os2.h:13:0,
from /usr/local/include/openssl/err.h:13,
from
/var/tmp/php_build/php_src/ext/openssl/php_openssl.h:69,
from
/var/tmp/php_build/php_src/ext/openssl/xp_ssl.c:32:
/usr/local/include/openssl/ssl.h:1865:1: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD
*TLSv1_2_server_method(void))
^
--
Edit bug report at https://bugs.php.net/bug.php?id=77076&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=77076&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=77076&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=77076&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=77076&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=77076&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=77076&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=77076&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=77076&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=77076&r=support
Expected behavior: https://bugs.php.net/fix.php?id=77076&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=77076&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=77076&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=77076&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=77076&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=77076&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=77076&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=77076&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=77076&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=77076&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=77076&r=mysqlcfg