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

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

Count Diff
1 (25%)
001+ PHP Warning: PHP Startup: bz2: Unable to initialize module
002+ Module compiled with module API=20160303
003+ PHP compiled with module API=20170718
004+ These options need to match
005+ in Unknown on line 0
006+ PHP Warning: PHP Startup: curl: Unable to initialize module
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' 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+ Module compiled with module API=20160303
008+ PHP compiled with module API=20170718
009+ These options need to match
010+ in Unknown on line 0
011+ PHP Warning: PHP Startup: gd: Unable to initialize module
012+ Module compiled with module API=20160303
013+ PHP compiled with module API=20170718
014+ These options need to match
015+ in Unknown on line 0
016+ PHP Warning: PHP Startup: xsl: Unable to initialize module
017+ Module compiled with module API=20160303
018+ PHP compiled with module API=20170718
019+ These options need to match
020+ in Unknown on line 0
021+
022+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-7.2.0RC4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
023+ bool(false)
1 (25%)
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 (libssl.so.1.1: 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 '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
004+
1 (25%)
001+ PHP Warning: Failed loading Zend extension 'xdebug.so' (tried: /opt/php7/lib/php/extensions/no-debug-zts-20170718/xdebug.so (dlopen(/opt/php7/lib/php/extensions/no-debug-zts-20170718/xdebug.so, 9): image not found), /opt/php7/lib/php/extensions/no-debug-zts-20170718/xdebug.so.so (dlopen(/opt/php7/lib/php/extensions/no-debug-zts-20170718/xdebug.so.so, 9): image not found)) in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'mongodb.so' (tried: /opt/php7/lib/php/extensions/no-debug-zts-20170718/mongodb.so (dlopen(/opt/php7/lib/php/extensions/no-debug-zts-20170718/mongodb.so, 9): image not found), /opt/php7/lib/php/extensions/no-debug-zts-20170718/mongodb.so.so (dlopen(/opt/php7/lib/php/extensions/no-debug-zts-20170718/mongodb.so.so, 9): image not found)) in Unknown on line 0
003+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
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-
005- Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s on line %d
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /private/tmp/php-7.2.0RC4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
1 (25%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/php72/lib/php/extensions/no-debug-zts-20170718/opcache.so (dlopen(/usr/local/php72/lib/php/extensions/no-debug-zts-20170718/opcache.so, 9): image not found), /usr/local/php72/lib/php/extensions/no-debug-zts-20170718/opcache.so.so (dlopen(/usr/local/php72/lib/php/extensions/no-debug-zts-20170718/opcache.so.so, 9): image not found)) in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/php72/lib/php/extensions/no-debug-zts-20170718/intl.so (dlopen(/usr/local/php72/lib/php/extensions/no-debug-zts-20170718/intl.so, 9): image not found), /usr/local/php72/lib/php/extensions/no-debug-zts-20170718/intl.so.so (dlopen(/usr/local/php72/lib/php/extensions/no-debug-zts-20170718/intl.so.so, 9): image not found)) in Unknown on line 0
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /usr/local/php72/lib/php/extensions/no-debug-zts-20170718/mcrypt.so (dlopen(/usr/local/php72/lib/php/extensions/no-debug-zts-20170718/mcrypt.so, 9): image not found), /usr/local/php72/lib/php/extensions/no-debug-zts-20170718/mcrypt.so.so (dlopen(/usr/local/php72/lib/php/extensions/no-debug-zts-20170718/mcrypt.so.so, 9): image not found)) in Unknown on line 0
004+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_dblib.so' (tried: /usr/local/php72/lib/php/extensions/no-debug-zts-20170718/pdo_dblib.so (dlopen(/usr/local/php72/lib/php/extensions/no-debug-zts-20170718/pdo_dblib.so, 9): image not found), /usr/local/php72/lib/php/extensions/no-debug-zts-20170718/pdo_dblib.so.so (dlopen(/usr/local/php72/lib/php/extensions/no-debug-zts-20170718/pdo_dblib.so.so, 9): image not found)) in Unknown on line 0
005+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_firebird.so' (tried: /usr/local/php72/lib/php/extensions/no-debug-zts-20170718/pdo_firebird.so (dlopen(/usr/local/php72/lib/php/extensions/no-debug-zts-20170718/pdo_firebird.so, 9): image not found), /usr/local/php72/lib/php/extensions/no-debug-zts-20170718/pdo_firebird.so.so (dlopen(/usr/local/php72/lib/php/extensions/no-debug-zts-20170718/pdo_firebird.so.so, 9): image not found)) in Unknown on line 0
006+