Petr Gajdos
e4392bb280
fix bsc#1187372 -- https://github.com/pear/pear-core/pull/115 + php7-pear-undefined-variables.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:php/php7-pear?expand=0&rev=30
21 lines
941 B
Diff
21 lines
941 B
Diff
--- PEAR/Proxy.php.orig 2021-06-16 11:11:23.526420199 +0200
|
|
+++ PEAR/Proxy.php 2021-06-16 11:12:49.978911163 +0200
|
|
@@ -104,7 +104,7 @@ class PEAR_Proxy
|
|
stream_set_blocking ($fp, true);
|
|
$crypto_res = stream_socket_enable_crypto($fp, true, $crypto_method);
|
|
if (!$crypto_res) {
|
|
- return PEAR::raiseError("Could not establish SSL connection through proxy $proxy_host:$proxy_port: $crypto_res");
|
|
+ return PEAR::raiseError("Could not establish SSL connection through proxy: $crypto_res");
|
|
}
|
|
|
|
return true;
|
|
@@ -164,7 +164,7 @@ class PEAR_Proxy
|
|
);
|
|
|
|
if (!$fp) {
|
|
- return PEAR::raiseError("Connection to `$proxy_host:$proxy_port' failed: $errstr", -9276);
|
|
+ return PEAR::raiseError("Connection to the proxy failed: $errstr", -9276);
|
|
}
|
|
|
|
/* HTTPS is to be used and we have a proxy, use CONNECT verb */
|