com php-src: fix ws: ext/openssl/tests/streams_crypto_metho d.phpt

From: Date: Thu, 17 Oct 2013 13:09:28 +0000
Subject: com php-src: fix ws: ext/openssl/tests/streams_crypto_metho d.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-73686@lists.php.net to get a copy of this message
Commit: ad0a85b9e2e090b4a8f2997bb1e6fb89f1888913 Author: Michael Wallner <mike@php.net> Thu, 17 Oct 2013 15:09:28 +0200 Parents: 5a7ca69e56b8cbe5c8295f18db2aa443a083949b Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ad0a85b9e2e090b4a8f2997bb1e6fb89f1888913 Log: fix ws Changed paths: M ext/openssl/tests/streams_crypto_method.phpt Diff: diff --git a/ext/openssl/tests/streams_crypto_method.phpt b/ext/openssl/tests/streams_crypto_method.phpt index 7ac195b..97a6e9e 100644 --- a/ext/openssl/tests/streams_crypto_method.phpt +++ b/ext/openssl/tests/streams_crypto_method.phpt @@ -19,13 +19,13 @@ function client($port, $method) { } function server($port, $transport) { - $context = stream_context_create(); + $context = stream_context_create(); - stream_context_set_option($context, 'ssl', 'local_cert', dirname(__FILE__) . '/streams_crypto_method.pem'); - stream_context_set_option($context, 'ssl', 'allow_self_signed', true); - stream_context_set_option($context, 'ssl', 'verify_peer', false); + stream_context_set_option($context, 'ssl', 'local_cert', dirname(__FILE__) . '/streams_crypto_method.pem'); + stream_context_set_option($context, 'ssl', 'allow_self_signed', true); + stream_context_set_option($context, 'ssl', 'verify_peer', false); - $server = stream_socket_server($transport . '127.0.0.1:' . $port, $errno, $errstr, STREAM_SERVER_BIND|STREAM_SERVER_LISTEN, $context); + $server = stream_socket_server($transport . '127.0.0.1:' . $port, $errno, $errstr, STREAM_SERVER_BIND|STREAM_SERVER_LISTEN, $context); $client = @stream_socket_accept($server);

« previous php.cvs (#73686) next »