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

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

Count Diff
2 (17%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /wwws/php/php7.4.24/lib/php/extensions/no-debug-zts-20190902/mcrypt.so (/wwws/php/php7.4.24/lib/php/extensions/no-debug-zts-20190902/mcrypt.so: cannot open shared object file: No such file or directory), /wwws/php/php7.4.24/lib/php/extensions/no-debug-zts-20190902/mcrypt.so.so (/wwws/php/php7.4.24/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+
1 (8%)
001+ Derived class Locr\OGR\Geometry is initialized before base class IGeometry: interface is ignored 002+
1 (8%)
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.24/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.24/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.24/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.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14 036+ bool(false)
1 (8%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20190902/opcache.so (/usr/local/php/lib/php/extensions/no-debug-zts-20190902/opcache.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20190902/opcache.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20190902/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 002+
1 (8%)
001+ PHP Warning: Module 'gd' already loaded in Unknown on line 0 002+
1 (8%)
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 (8%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/intl (dlopen(/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/intl, 9): image not found), /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/intl.so (dlopen(/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/intl.so, 9): image not found)) in Unknown on line 0 002+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/mysqli (dlopen(/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/mysqli, 9): image not found), /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/mysqli.so (dlopen(/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/mysqli.so, 9): image not found)) in Unknown on line 0 003+
1 (8%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/mysqli (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/mysqli: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/mysqli.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/mysqli.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 002+
1 (8%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'php_openssl.dll' (tried: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20190902/php_openssl.dll (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20190902/php_openssl.dll: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-non-zts-20190902/php_openssl.dll.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20190902/php_openssl.dll.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 002+
1 (8%)
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.24/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.24/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.24/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.24/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.24/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.24/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.24/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.24/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 (8%)
010+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /var/www/html/repos/centos/php_7.X/php_7.4.X/pt-php-fpm/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