mirror of
https://github.com/php/php-src.git
synced 2026-03-29 03:32:20 +02:00
Merge branch 'PHP-5.6' into PHP-7.0
Conflicts: ext/standard/ftp_fopen_wrapper.c
This commit is contained in:
4
NEWS
4
NEWS
@@ -81,6 +81,10 @@ PHP NEWS
|
||||
. Fixed bug #72330 (CSV fields incorrectly split if escape char followed by
|
||||
UTF chars). (cmb)
|
||||
|
||||
- Streams:
|
||||
. Fixed bug #41021 (Problems with the ftps wrapper). (vhuk)
|
||||
. Fixed bug #54431 (opendir() does not work with ftps:// wrapper). (vhuk)
|
||||
|
||||
- XMLRPC:
|
||||
. Fixed bug #72647 (xmlrpc_encode() unexpected output after referencing
|
||||
array elements). (Laruence)
|
||||
|
||||
@@ -737,9 +737,9 @@ php_stream * php_stream_ftp_opendir(php_stream_wrapper *wrapper, const char *pat
|
||||
|
||||
php_stream_context_set(datastream, context);
|
||||
|
||||
if (use_ssl_on_data && (php_stream_xport_crypto_setup(stream,
|
||||
if (use_ssl_on_data && (php_stream_xport_crypto_setup(datastream,
|
||||
STREAM_CRYPTO_METHOD_SSLv23_CLIENT, NULL) < 0 ||
|
||||
php_stream_xport_crypto_enable(stream, 1) < 0)) {
|
||||
php_stream_xport_crypto_enable(datastream, 1) < 0)) {
|
||||
|
||||
php_stream_wrapper_log_error(wrapper, options, "Unable to activate SSL mode");
|
||||
php_stream_close(datastream);
|
||||
|
||||
Reference in New Issue
Block a user