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

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 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=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' 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 10 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
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 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 (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 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 (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 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 (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 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 006- bool(false) 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 021+ 022+ Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in /home/install/php/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 023+ 024+ 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 10 025+ 026+ 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 10 027+ bool(false)
1 (6%)
001+ Derived class Locr\OGR\Geometry is initialized before base class IGeometry: interface is ignored 002+