Test: /ext/openssl/tests/bug46127.phpt - Version 7.4.6        

Bug #46127 [PATCH] php_openssl_tcp_sockop_accept forgets to set context on accepted stream
Submitted: 2008-09-19 15:50:36 Modified: 2008-11-16 23:23:38
From: mark Assigned: pajoye
Status: Closed Package: OpenSSL related
PHP Version: 5.3CVS-2008-11-11 OS: *

There are 43 different diffs reported by users for this test.

Count Diff
4 (8%)
001+ Warning: stream_socket_client(): SSL: Success in /usr/local/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 001- Sending bug 46127 002+ 003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 004+ 005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 006+ 007+ Warning: fgets() expects parameter 1 to be resource, bool given in /usr/local/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
3 (6%)
001+ Warning: stream_socket_client(): SSL: Success in /root/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 001- Sending bug 46127 002+ 003+ Warning: stream_socket_client(): Failed to enable crypto in /root/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 004+ 005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /root/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 006+ 007+ Warning: fgets() expects parameter 1 to be resource, bool given in /root/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
3 (6%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/lib/php/extensions/no-debug-zts-20190902/mysqli (/usr/lib/php/extensions/no-debug-zts-20190902/mysqli: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-zts-20190902/mysqli.so (/usr/lib/php/extensions/no-debug-zts-20190902/mysqli.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 002+ PHP Warning: PHP Startup: Unable to load dynamic library 'msql.so' (tried: /usr/lib/php/extensions/no-debug-zts-20190902/msql.so (/usr/lib/php/extensions/no-debug-zts-20190902/msql.so: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-zts-20190902/msql.so.so (/usr/lib/php/extensions/no-debug-zts-20190902/msql.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 003+ PHP Warning: PHP Startup: Unable to load dynamic library 'ImageMagick' (tried: /usr/lib/php/extensions/no-debug-zts-20190902/ImageMagick (/usr/lib/php/extensions/no-debug-zts-20190902/ImageMagick: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-zts-20190902/ImageMagick.so (/usr/lib/php/extensions/no-debug-zts-20190902/ImageMagick.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
2 (4%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/root/php-7.4.6/ext/openssl/tests/bug46127.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /root/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 10 001- Sending bug 46127 002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /root/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 10 003+ PHP Warning: stream_socket_accept(): accept failed: Success in /root/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 10 004+ PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /root/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11 005+ 006+ Warning: stream_socket_client(): SSL: Success in /root/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 007+ 008+ Warning: stream_socket_client(): Failed to enable crypto in /root/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 009+ 010+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /root/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 011+ 012+ Warning: fgets() expects parameter 1 to be resource, bool given in /root/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (2%)
001+ Zend OPcache requires Zend Engine API version 320180731. 001- Sending bug 46127 002+ The Zend Engine API version 320190902 which is installed, is newer. 003+ Contact Zend Technologies at http://www.zend.com/ for a later version of Zend OPcache. 004+ 005+ 006+ Warning: stream_socket_client(): SSL: Success in /usr/src/www/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 007+ 008+ Warning: stream_socket_client(): Failed to enable crypto in /usr/src/www/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 009+ 010+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/src/www/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 011+ 012+ Warning: fgets() expects parameter 1 to be resource, bool given in /usr/src/www/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (2%)
001+ Xdebug: [Step Debug] Could not connect to debugging client. Tried: 192.168.56.1:9001 (fallback through xdebug.client_host/xdebug.client_port) :-(
1 (2%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 001- Sending bug 46127 002+ 003+ Warning: fgets() expects parameter 1 to be resource, bool given in /usr/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/evgen/raspberrypi/php/normal/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 001- Sending bug 46127 002+ 003+ Warning: fgets() expects parameter 1 to be resource, bool given in /home/evgen/raspberrypi/php/normal/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Success in /usr/src/www/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 001- Sending bug 46127 002+ 003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/src/www/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 004+ 005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/src/www/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 006+ 007+ Warning: fgets() expects parameter 1 to be resource, bool given in /usr/src/www/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Success in /usr/local/src/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 001- Sending bug 46127 002+ 003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 004+ 005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 006+ 007+ Warning: fgets() expects parameter 1 to be resource, bool given in /usr/local/src/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Success in /opt/source/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 001- Sending bug 46127 002+ 003+ Warning: stream_socket_client(): Failed to enable crypto in /opt/source/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 004+ 005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /opt/source/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 006+ 007+ Warning: fgets() expects parameter 1 to be resource, bool given in /opt/source/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Success in /home/yjenco/php/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 001- Sending bug 46127 002+ 003+ Warning: stream_socket_client(): Failed to enable crypto in /home/yjenco/php/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 004+ 005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/yjenco/php/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 006+ 007+ Warning: fgets() expects parameter 1 to be resource, bool given in /home/yjenco/php/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Success in /home/webmaster/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 001- Sending bug 46127 002+ 003+ Warning: stream_socket_client(): Failed to enable crypto in /home/webmaster/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 004+ 005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/webmaster/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 006+ 007+ Warning: fgets() expects parameter 1 to be resource, bool given in /home/webmaster/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Success in /home/luiz/Downloads/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 001- Sending bug 46127 002+ 003+ Warning: stream_socket_client(): Failed to enable crypto in /home/luiz/Downloads/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 004+ 005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/luiz/Downloads/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 006+ 007+ Warning: fgets() expects parameter 1 to be resource, bool given in /home/luiz/Downloads/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Success in /home/lucky/Downloads/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 001- Sending bug 46127 002+ 003+ Warning: stream_socket_client(): Failed to enable crypto in /home/lucky/Downloads/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 004+ 005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/lucky/Downloads/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 006+ 007+ Warning: fgets() expects parameter 1 to be resource, bool given in /home/lucky/Downloads/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Success in /home/hongshanguo/abcpackage/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 001- Sending bug 46127 002+ 003+ Warning: stream_socket_client(): Failed to enable crypto in /home/hongshanguo/abcpackage/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 004+ 005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/hongshanguo/abcpackage/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 006+ 007+ Warning: fgets() expects parameter 1 to be resource, bool given in /home/hongshanguo/abcpackage/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Success in /home/hgneng/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 001- Sending bug 46127 002+ 003+ Warning: stream_socket_client(): Failed to enable crypto in /home/hgneng/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 004+ 005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/hgneng/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 006+ 007+ Warning: fgets() expects parameter 1 to be resource, bool given in /home/hgneng/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/src/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 001- Sending bug 46127 002+ 003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/src/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 004+ 005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/src/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 006+ 007+ Warning: fgets() expects parameter 1 to be resource, bool given in /usr/src/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 001- Sending bug 46127 002+ 003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 004+ 005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 006+ 007+ Warning: fgets() expects parameter 1 to be resource, bool given in /usr/local/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/setup/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 001- Sending bug 46127 002+ 003+ Warning: stream_socket_client(): Failed to enable crypto in /root/setup/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 004+ 005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /root/setup/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 006+ 007+ Warning: fgets() expects parameter 1 to be resource, bool given in /root/setup/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 001- Sending bug 46127 002+ 003+ Warning: stream_socket_client(): Failed to enable crypto in /root/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 004+ 005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /root/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 006+ 007+ Warning: fgets() expects parameter 1 to be resource, bool given in /root/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12