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

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 10 different diffs reported by users for this test.

Count Diff
298 (96%)
001+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/src/php/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
2 (1%)
001+ Failed loading /usr/local/lib/php/extensions/no-debug-zts-20160303/opcache.so: /usr/local/lib/php/extensions/no-debug-zts-20160303/opcache.so: undefined symbol: sapi_globals_id
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/oci8.so' - /usr/local/lib/php/extensions/no-debug-zts-20160303/oci8.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 '/usr/local/lib/php/extensions/no-debug-zts-20160303/memcached.so' - /usr/local/lib/php/extensions/no-debug-zts-20160303/memcached.so: cannot open shared object file: No such file or directory in Unknown on line 0
004+ PHP Warning: PHP Startup: propro: Unable to initialize module
005+ Module compiled with build ID=API20160303,TS
006+ PHP compiled with build ID=API20160303,NTS
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' 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
006- bool(false)
007+ These options need to match
008+ in Unknown on line 0
009+ PHP Warning: PHP Startup: raphf: Unable to initialize module
010+ Module compiled with build ID=API20160303,TS
011+ PHP compiled with build ID=API20160303,NTS
012+ These options need to match
013+ in Unknown on line 0
014+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/http.so' - /usr/local/lib/php/extensions/no-debug-zts-20160303/http.so: undefined symbol: core_globals_id in Unknown on line 0
015+
016+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
017+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/src/php7/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
018+
019+ Warning: stream_socket_client(): Failed to enable crypto in /usr/src/php7/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
020+
021+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/src/php7/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
022+ bool(false)
2 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/oci8.so' - /usr/local/lib/php/extensions/no-debug-zts-20160303/oci8.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 '/usr/local/lib/php/extensions/no-debug-zts-20160303/memcached.so' - /usr/local/lib/php/extensions/no-debug-zts-20160303/memcached.so: cannot open shared object file: No such file or directory in Unknown on line 0
003+
004+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
005+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/src/php7/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
2 (1%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/src/php/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
1 (0%)
001+ Failed loading /etc/kernix/extensions/opcache.so: /etc/kernix/extensions/opcache.so: undefined symbol: zend_known_strings
002+
1 (0%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_mbstring.dll' - /usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_mbstring.dll: 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 '/usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_firebird.dll' - /usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_firebird.dll: 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 '/usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_mysql.dll' - /usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0
004+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_oci.dll' - /usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_oci.dll: cannot open shared object file: No such file or directory in Unknown on line 0
005+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_odbc.dll' - /usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_odbc.dll: cannot open shared object file: No such file or directory in Unknown on line 0
006+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_pgsql.dll' - /usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_pgsql.dll: cannot open shared object file: No such file or directory in Unknown on line 0
007+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_sqlite.dll' - /usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_sqlite.dll: cannot open shared object file: No such file or directory in Unknown on line 0
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
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
009+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
1 (0%)
001+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /export/install/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
1 (0%)
001+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mnt/misc/build/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
1 (0%)
001+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /root/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
1 (0%)
001+ Xdebug requires Zend Engine API version 220060519.
002+ The Zend Engine API version 320160303 which is installed, is newer.
003+ Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
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
006- bool(false)
005+ PHP Warning: PHP Startup: imagick: Unable to initialize module
006+ Module compiled with module API=20060613
007+ PHP compiled with module API=20160303
008+ These options need to match
009+ in Unknown on line 0
010+ PHP Warning: PHP Startup: eAccelerator: Unable to initialize module
011+ Module compiled with module API=20060613
012+ PHP compiled with module API=20160303
013+ These options need to match
014+ in Unknown on line 0
015+ PHP Warning: PHP Startup: memcache: Unable to initialize module
016+ Module compiled with module API=20060613
017+ PHP compiled with module API=20160303
018+ These options need to match
019+ in Unknown on line 0
020+
021+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/nishikawa/src/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
022+ bool(false)