Patch 54431.patch for Directory function related Bug #54431
Patch version 2016-07-21 08:47 UTC
Return to Bug #54431 |
Download this patch
Patch Revisions:
Developer: vhu@iki.fi
--- ext/standard/ftp_fopen_wrapper.c 2016-07-21 11:35:10.000000000 +0300
+++ ext/standard/ftp_fopen_wrapper.c~ 2016-07-21 11:08:39.000000000 +0300
@@ -737,9 +737,9 @@
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);
|