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

Bug #54992 Stream not closed and error not returned when SSL CN_match fails
Submitted: 2011-06-04 14:10:04 Modified: 2011-06-08 02:25:10
From: laird_ngrps Assigned: cataphract
Status: Closed Package: Streams related
PHP Version: 5.3.6 OS: Linux

There are 42 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- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
4 (8%)
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- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
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 004+
2 (4%)
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- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
2 (4%)
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- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
1 (2%)
001+ Zend OPcache requires Zend Engine API version 320180731. 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: Connection reset by peer in /usr/src/www/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 001- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
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) :-( 002+
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- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d 002- 003- Warning: stream_socket_client(): Failed to enable crypto in %s on line %d 004- 005- Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s on line %d
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- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d 002- 003- Warning: stream_socket_client(): Failed to enable crypto in %s on line %d 004- 005- Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s on line %d
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- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
1 (2%)
001+ Warning: stream_socket_client(): SSL: Success in /usr/local/src/php/php-7.4.6/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 001- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
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- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
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- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
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- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
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- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
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- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
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- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
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- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
1 (2%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/src/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 001- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
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- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
1 (2%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/webmaster/php-7.4.6/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 001- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d