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

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

Count Diff
3 (17%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'gd.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/gd.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/gd.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/gd.so.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/gd.so.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 'zip.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/zip.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/zip.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/zip.so.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/zip.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 003+
2 (11%)
001+ PHP Warning: stream_socket_server(): unable to connect to ssl://127.0.0.1:64321 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in /home/try/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7 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(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/try/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14 004+ bool(false) 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 006+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/try/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14 007- resource(%d) of type (stream) 008- resource(%d) of type (stream) 008+ 009+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/try/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : 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 /home/try/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
2 (11%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /wwws/php/php7.4.25/lib/php/extensions/no-debug-zts-20190902/mcrypt.so (/wwws/php/php7.4.25/lib/php/extensions/no-debug-zts-20190902/mcrypt.so: cannot open shared object file: No such file or directory), /wwws/php/php7.4.25/lib/php/extensions/no-debug-zts-20190902/mcrypt.so.so (/wwws/php/php7.4.25/lib/php/extensions/no-debug-zts-20190902/mcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 002+
2 (11%)
001+ Failed loading /opt/php/php8/lib/php/extensions/no-debug-non-zts-20200930/opcache.so: /opt/php/php8/lib/php/extensions/no-debug-non-zts-20200930/opcache.so: undefined symbol: zend_cannot_pass_by_reference 002+
1 (6%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/digiasa/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14 002+ bool(false) 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+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/digiasa/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14 005+ bool(false) 005- Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s on line %d 007+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/digiasa/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14 007- resource(%d) of type (stream) 008- resource(%d) of type (stream) 010+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/digiasa/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : 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 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
1 (6%)
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-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : 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- resource(%d) of type (stream) 008- resource(%d) of type (stream) 009+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: 010+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14 011+ 012+ Warning: stream_socket_client(): Failed to enable crypto in /usr/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14 013+ 014+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14 015+ bool(false) 016+ 017+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: 018+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14 019+ 020+ Warning: stream_socket_client(): Failed to enable crypto in /usr/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14 021+ 022+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14 023+ bool(false) 024+ 025+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: 026+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : 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
1 (6%)
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/local/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : 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- resource(%d) of type (stream) 008- resource(%d) of type (stream) 009+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: 010+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/local/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14 011+ 012+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14 013+ 014+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14 015+ bool(false) 016+ 017+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: 018+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/local/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14 019+ 020+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14 021+ 022+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14 023+ bool(false) 024+ 025+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: 026+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/local/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : 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
1 (6%)
001+ PHP Warning: PHP Startup: gd: Unable to initialize module 002+ Module compiled with module API=20100525 003+ PHP compiled with module API=20190902 004+ These options need to match 005+ in Unknown on line 0 006+
1 (6%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick' (tried: /opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick (Cannot open "/opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick"), /opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick.so (Shared object "libMagickWand-7.so.7" not found, required by "imagick.so")) in Unknown on line 0 002+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick' (tried: /opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick (Cannot open "/opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick"), /opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick.so (Shared object "libMagickWand-7.so.7" not found, required by "imagick.so")) in Unknown on line 0 003+ PHP Warning: Module 'zip' already loaded in Unknown on line 0 004+
1 (6%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20190902/openssl.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/openssl.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/openssl.so: undefined symbol: file_globals_id), /usr/local/lib/php/extensions/no-debug-non-zts-20190902//usr/local/lib/php/extensions/no-debug-non-zts-20190902/openssl.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902//usr/local/lib/php/extensions/no-debug-non-zts-20190902/openssl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 002+
1 (6%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/php-7.4.25/lib/php/extensions/no-debug-non-zts-20190902/opcache.so (/usr/local/php-7.4.25/lib/php/extensions/no-debug-non-zts-20190902/opcache.so: cannot open shared object file: No such file or directory), /usr/local/php-7.4.25/lib/php/extensions/no-debug-non-zts-20190902/opcache.so.so (/usr/local/php-7.4.25/lib/php/extensions/no-debug-non-zts-20190902/opcache.so.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 'igbinary.so' (tried: /usr/local/php-7.4.25/lib/php/extensions/no-debug-non-zts-20190902/igbinary.so (/usr/local/php-7.4.25/lib/php/extensions/no-debug-non-zts-20190902/igbinary.so: cannot open shared object file: No such file or directory), /usr/local/php-7.4.25/lib/php/extensions/no-debug-non-zts-20190902/igbinary.so.so (/usr/local/php-7.4.25/lib/php/extensions/no-debug-non-zts-20190902/igbinary.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 'mongodb.so' (tried: /usr/local/php-7.4.25/lib/php/extensions/no-debug-non-zts-20190902/mongodb.so (/usr/local/php-7.4.25/lib/php/extensions/no-debug-non-zts-20190902/mongodb.so: cannot open shared object file: No such file or directory), /usr/local/php-7.4.25/lib/php/extensions/no-debug-non-zts-20190902/mongodb.so.so (/usr/local/php-7.4.25/lib/php/extensions/no-debug-non-zts-20190902/mongodb.so.so: 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 'apcu.so' (tried: /usr/local/php-7.4.25/lib/php/extensions/no-debug-non-zts-20190902/apcu.so (/usr/local/php-7.4.25/lib/php/extensions/no-debug-non-zts-20190902/apcu.so: cannot open shared object file: No such file or directory), /usr/local/php-7.4.25/lib/php/extensions/no-debug-non-zts-20190902/apcu.so.so (/usr/local/php-7.4.25/lib/php/extensions/no-debug-non-zts-20190902/apcu.so.so: 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 'redis.so' (tried: /usr/local/php-7.4.25/lib/php/extensions/no-debug-non-zts-20190902/redis.so (/usr/local/php-7.4.25/lib/php/extensions/no-debug-non-zts-20190902/redis.so: cannot open shared object file: No such file or directory), /usr/local/php-7.4.25/lib/php/extensions/no-debug-non-zts-20190902/redis.so.so (/usr/local/php-7.4.25/lib/php/extensions/no-debug-non-zts-20190902/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 006+
1 (6%)
001+ Failed loading /usr/local/lib/php/extensions/no-debug-zts-20170718/opcache.so: /usr/local/lib/php/extensions/no-debug-zts-20170718/opcache.so: undefined symbol: _zval_ptr_dtor 002+ PHP Warning: PHP Startup: zip: Unable to initialize module 003+ Module compiled with module API=20170718 004+ PHP compiled with module API=20190902 005+ These options need to match 006+ in Unknown on line 0 007+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20170718/rar.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20170718/rar.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/rar.so: undefined symbol: _zval_ptr_dtor), .///usr/local/lib/php/extensions/no-debug-zts-20170718/rar.so.so (.///usr/local/lib/php/extensions/no-debug-zts-20170718/rar.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 008+ PHP Warning: PHP Startup: mcrypt: Unable to initialize module 009+ Module compiled with module API=20170718 010+ PHP compiled with module API=20190902 011+ These options need to match 012+ in Unknown on line 0 013+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20170718/soap.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20170718/soap.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/soap.so: undefined symbol: _zval_ptr_dtor), .///usr/local/lib/php/extensions/no-debug-zts-20170718/soap.so.so (.///usr/local/lib/php/extensions/no-debug-zts-20170718/soap.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 014+ PHP Warning: PHP Startup: memcached: Unable to initialize module 015+ Module compiled with module API=20170718 016+ PHP compiled with module API=20190902 017+ These options need to match 018+ in Unknown on line 0 019+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20170718/apcu.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20170718/apcu.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/apcu.so: undefined symbol: _zval_ptr_dtor), .///usr/local/lib/php/extensions/no-debug-zts-20170718/apcu.so.so (.///usr/local/lib/php/extensions/no-debug-zts-20170718/apcu.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 020+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20170718/imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20170718/imagick.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/imagick.so: undefined symbol: _zval_ptr_dtor), .///usr/local/lib/php/extensions/no-debug-zts-20170718/imagick.so.so (.///usr/local/lib/php/extensions/no-debug-zts-20170718/imagick.so.so: 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 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) 009- 010- Warning: stream_socket_client(): Peer certificate CN=`*.test.com' did not match expected CN=`foo.bar.test.com' in %s on line %d 022+ Warning: stream_socket_client(): Peer certificate CN=`*.test.com' did not match expected CN=`foo.test.com.sg' in /home/install/php/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14 023+ 028+ resource(21) of type (stream) 029+ resource(23) of type (stream) 030+ 031+ Warning: stream_socket_client(): Peer certificate CN=`*.test.com' did not match expected CN=`foo.bar.test.com' in /home/install/php/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14 032+ 033+ Warning: stream_socket_client(): Failed to enable crypto in /home/install/php/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14 034+ 035+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/install/php/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14 036+ bool(false)
1 (6%)
001+ Derived class Locr\OGR\Geometry is initialized before base class IGeometry: interface is ignored 002+