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

Bug #65729 CN_match gives false positive
Submitted: 2013-09-21 08:27:27 Modified: 2013-10-08 14:02:09
From: datibbaw Assigned: mike
Status: Closed Package: OpenSSL related
PHP Version: master-Git-2013-09-21 (Git) OS: Linux

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

Count Diff
2 (22%)
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 14
001- Warning: stream_socket_client(): Peer certificate CN=`*.test.com' did not match expected CN=`foo.test.com.sg' in %s on line %d
007+
008+ 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 14
007- resource(%d) of type (stream)
008- resource(%d) of type (stream)
010+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
011+
012+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
013+ bool(false)
014+
015+ 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 14
016+
017+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
018+
019+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
020+ bool(false)
021+
022+ 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 14
010- Warning: stream_socket_client(): Peer certificate CN=`*.test.com' did not match expected CN=`foo.bar.test.com' in %s on line %d
2 (22%)
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+
2 (22%)
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
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
001- Warning: stream_socket_client(): Peer certificate CN=`*.test.com' did not match expected CN=`foo.test.com.sg' 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- resource(%d) of type (stream)
008- resource(%d) of type (stream)
016+ Warning: stream_socket_client(): Peer certificate CN=`*.test.com' did not match expected CN=`foo.test.com.sg' in /usr/src/php7/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
017+
018+ 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 14
019+
020+ 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 14
021+ bool(false)
022+ resource(11) of type (stream)
023+ resource(13) of type (stream)
024+
1 (11%)
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=`*.test.com' did not match expected CN=`foo.test.com.sg' 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)
007- resource(%d) of type (stream)
008- resource(%d) of type (stream)
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
010- Warning: stream_socket_client(): Peer certificate CN=`*.test.com' did not match expected CN=`foo.bar.test.com' in %s on line %d
012- Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
014- Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s on line %d
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 14
022+ bool(false)
024+ 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 14
025+ bool(false)
027+ 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 14
028+ bool(false)
029+
030+ 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 14
1 (11%)
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=`*.test.com' did not match expected CN=`foo.test.com.sg' in %s on line %d
003- Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
005- Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s on line %d
007- resource(%d) of type (stream)
008- resource(%d) of type (stream)
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 14
010+ bool(false)
010- Warning: stream_socket_client(): Peer certificate CN=`*.test.com' did not match expected CN=`foo.bar.test.com' in %s on line %d
011-
012- Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
013-
014- Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s on line %d
012+ 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 14
014+
015+ 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 14
016+ bool(false)
018+ 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 14
1 (11%)
001+ Failed loading /etc/kernix/extensions/opcache.so: /etc/kernix/extensions/opcache.so: undefined symbol: zend_known_strings
002+