Test: /ext/openssl/tests/bug54992.phpt - Version 7.2.0-dev        

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

Count Diff
6 (29%)
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 /home/travis/build/php/php-src/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
4 (19%)
001+ Segmentation fault (core dumped)
002+ Segmentation fault (core dumped)
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+ Termsig=11
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)
2 (10%)
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 /home/travis/build/jhdxr/php-src/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 (5%)
001+ Xdebug requires Zend Engine API version 320160303.
002+ The Zend Engine API version 320160731 which is installed, is newer.
003+ Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.
004+
005+
1 (5%)
001+ Xdebug requires Zend Engine API version 320160303.
002+ The Zend Engine API version 320160731 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
005+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php71-debug/lib/php/extensions/debug-non-zts-20160303/phar.so' - /usr/local/php71-debug/lib/php/extensions/debug-non-zts-20160303/phar.so: undefined symbol: spl_ce_Countable in Unknown on line 0
006+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php71-debug/lib/php/extensions/debug-non-zts-20160303/http.so' - /usr/local/php71-debug/lib/php/extensions/debug-non-zts-20160303/http.so: undefined symbol: spl_ce_Countable in Unknown on line 0
005- Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s on line %d
008+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/vagrant/php-src/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
1 (5%)
001+ Xdebug requires Zend Engine API version 320151012.
002+ The Zend Engine API version 320160731 which is installed, is newer.
003+ Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.
004+
005+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/redis.so' - /usr/local/lib/php/extensions/no-debug-zts-20160303/redis.so: cannot open shared object file: No such file or directory in Unknown on line 0
006+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
007+
1 (5%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'pthreads.so' (tried: //lib/php/extensions/no-debug-zts-20170718/pthreads.so (//lib/php/extensions/no-debug-zts-20170718/pthreads.so: cannot open shared object file: No such file or directory), //lib/php/extensions/no-debug-zts-20170718/pthreads.so.so (//lib/php/extensions/no-debug-zts-20170718/pthreads.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 'yaml.so' (tried: //lib/php/extensions/no-debug-zts-20170718/yaml.so (//lib/php/extensions/no-debug-zts-20170718/yaml.so: cannot open shared object file: No such file or directory), //lib/php/extensions/no-debug-zts-20170718/yaml.so.so (//lib/php/extensions/no-debug-zts-20170718/yaml.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
003+
1 (5%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mongodb.so' (tried: /php/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/mongodb.so (/php/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/mongodb.so: cannot open shared object file: No such file or directory), /php/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/mongodb.so.so (/php/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/mongodb.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 'redis.so' (tried: /php/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/redis.so (/php/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/redis.so: cannot open shared object file: No such file or directory), /php/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/redis.so.so (/php/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/redis.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 'memcached.so' (tried: /php/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/memcached.so (/php/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/memcached.so: cannot open shared object file: No such file or directory), /php/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/memcached.so.so (/php/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/memcached.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 'gearman.so' (tried: /php/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/gearman.so (/php/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/gearman.so: cannot open shared object file: No such file or directory), /php/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/gearman.so.so (/php/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/gearman.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 'uuid.so' (tried: /php/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/uuid.so (/php/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/uuid.so: cannot open shared object file: No such file or directory), /php/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/uuid.so.so (/php/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/uuid.so.so: 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 'mcrypt.so' (tried: /php/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/mcrypt.so (/php/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/mcrypt.so: cannot open shared object file: No such file or directory), /php/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/mcrypt.so.so (/php/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/mcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
007+
1 (5%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php7/lib/php/extensions/debug-zts-20160303/pthreads.so' - /etc/php7/lib/php/extensions/debug-zts-20160303/pthreads.so: cannot open shared object file: No such file or directory in Unknown on line 0
002+
1 (5%)
001+ Failed loading /usr/lib64/extensions/no-debug-non-zts-20160303/opcache.so: /usr/lib64/extensions/no-debug-non-zts-20160303/opcache.so: cannot open shared object file: No such file or directory
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/extensions/no-debug-non-zts-20160303/mysql.so' - /usr/lib64/extensions/no-debug-non-zts-20160303/mysql.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/lib64/extensions/no-debug-non-zts-20160303/redis.so' - /usr/lib64/extensions/no-debug-non-zts-20160303/redis.so: cannot open shared object file: No such file or directory in Unknown on line 0
004+
1 (5%)
001+ Failed loading /opt/php7/lib/php/extensions/no-debug-non-zts-20160303/opcache.so: /opt/php7/lib/php/extensions/no-debug-non-zts-20160303/opcache.so: undefined symbol: zend_interned_strings_snapshot
002+
1 (5%)
001+ Failed loading /home/tim/.local/php/lib/php/extensions/no-debug-non-zts-20160303/opcache.so: /home/tim/.local/php/lib/php/extensions/no-debug-non-zts-20160303/opcache.so: cannot open shared object file: No such file or directory
002+