Test: /ext/openssl/tests/bug68920.phpt - Version 7.1.12        

Bug #68920 php_x509_fingerprint_match need stricter checks
Submitted: 2015-01-27 12:51:33 Modified: 2015-03-04 19:54:15
From: erik Assigned: rdlowrey
Status: Closed Package: OpenSSL related
PHP Version: 5.6.5 OS:

There are 15 different diffs reported by users for this test.

Count Diff
3 (17%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/opt/php-7.1/lib/php/extensions/no-debug-non-zts-20160303/gmp.so' - /opt/php-7.1/lib/php/extensions/no-debug-non-zts-20160303/gmp.so: file too short in Unknown on line 0
002+
2 (11%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/extensions/no-debug-non-zts-20160303/bz2.so' - /usr/lib64/extensions/no-debug-non-zts-20160303/bz2.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 '/usr/lib64/extensions/no-debug-non-zts-20160303/calendar.so' - /usr/lib64/extensions/no-debug-non-zts-20160303/calendar.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/ctype.so' - /usr/lib64/extensions/no-debug-non-zts-20160303/ctype.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 '/usr/lib64/extensions/no-debug-non-zts-20160303/curl.so' - /usr/lib64/extensions/no-debug-non-zts-20160303/curl.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 '/usr/lib64/extensions/no-debug-non-zts-20160303/exif.so' - /usr/lib64/extensions/no-debug-non-zts-20160303/exif.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 '/usr/lib64/extensions/no-debug-non-zts-20160303/fileinfo.so' - /usr/lib64/extensions/no-debug-non-zts-20160303/fileinfo.so: cannot open shared object file: No such file or directory in Unknown on line 0
007+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/extensions/no-debug-non-zts-20160303/ftp.so' - /usr/lib64/extensions/no-debug-non-zts-20160303/ftp.so: cannot open shared object file: No such file or directory in Unknown on line 0
008+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/extensions/no-debug-non-zts-20160303/gettext.so' - /usr/lib64/extensions/no-debug-non-zts-20160303/gettext.so: cannot open shared object file: No such file or directory in Unknown on line 0
009+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/extensions/no-debug-non-zts-20160303/iconv.so' - /usr/lib64/extensions/no-debug-non-zts-20160303/iconv.so: cannot open shared object file: No such file or directory in Unknown on line 0
010+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/extensions/no-debug-non-zts-20160303/json.so' - /usr/lib64/extensions/no-debug-non-zts-20160303/json.so: cannot open shared object file: No such file or directory in Unknown on line 0
011+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/extensions/no-debug-non-zts-20160303/mysqlnd.so' - /usr/lib64/extensions/no-debug-non-zts-20160303/mysqlnd.so: cannot open shared object file: No such file or directory in Unknown on line 0
012+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/extensions/no-debug-non-zts-20160303/pdo.so' - /usr/lib64/extensions/no-debug-non-zts-20160303/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
013+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/extensions/no-debug-non-zts-20160303/phar.so' - /usr/lib64/extensions/no-debug-non-zts-20160303/phar.so: cannot open shared object file: No such file or directory in Unknown on line 0
014+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/extensions/no-debug-non-zts-20160303/sockets.so' - /usr/lib64/extensions/no-debug-non-zts-20160303/sockets.so: cannot open shared object file: No such file or directory in Unknown on line 0
015+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/extensions/no-debug-non-zts-20160303/sqlite3.so' - /usr/lib64/extensions/no-debug-non-zts-20160303/sqlite3.so: cannot open shared object file: No such file or directory in Unknown on line 0
016+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/extensions/no-debug-non-zts-20160303/tokenizer.so' - /usr/lib64/extensions/no-debug-non-zts-20160303/tokenizer.so: cannot open shared object file: No such file or directory in Unknown on line 0
017+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/extensions/no-debug-non-zts-20160303/mysqli.so' - /usr/lib64/extensions/no-debug-non-zts-20160303/mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
018+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/extensions/no-debug-non-zts-20160303/pdo_mysql.so' - /usr/lib64/extensions/no-debug-non-zts-20160303/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
019+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/extensions/no-debug-non-zts-20160303/pdo_sqlite.so' - /usr/lib64/extensions/no-debug-non-zts-20160303/pdo_sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
001- Warning: stream_socket_client(): Expected peer fingerprint must be a string or an array 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 %s (Unknown error) in %s on line %d
006- bool(false)
007-
008- Warning: stream_socket_client(): Expected peer fingerprint must be a string or an array in %s on line %d
009-
010- Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
012- Warning: stream_socket_client(): unable to connect to %s (Unknown error) in %s on line %d
021+ Warning: stream_socket_client(): Expected peer fingerprint must be a string or an array in /usr/local/src/php-7.1.12/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 7
022+
023+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-7.1.12/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 7
024+
025+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php-7.1.12/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 7
028+ Warning: stream_socket_client(): Expected peer fingerprint must be a string or an array in /usr/local/src/php-7.1.12/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
029+
030+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-7.1.12/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
031+
032+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php-7.1.12/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
033+ bool(false)
034+
1 (6%)
001+ Zend OPcache requires Zend Engine API version 320151012.
002+ The Zend Engine API version 320160303 which is installed, is newer.
003+ Contact Zend Technologies at http://www.zend.com/ for a later version of Zend OPcache.
004+
005+
1 (6%)
001+ Zend OPcache requires Zend Engine API version 320151012.
002+ The Zend Engine API version 320160303 which is installed, is newer.
003+ Contact Zend Technologies at http://www.zend.com/ for a later version of Zend OPcache.
001- Warning: stream_socket_client(): Expected peer fingerprint must be a string or an array in %s on line %d
003- Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
005+ Xdebug requires Zend Engine API version 320151012.
006+ The Zend Engine API version 320160303 which is installed, is newer.
007+ Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.
005- Warning: stream_socket_client(): unable to connect to %s (Unknown error) in %s on line %d
006- bool(false)
007-
008- Warning: stream_socket_client(): Expected peer fingerprint must be a string or an array in %s on line %d
009-
010- Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
009+ PHP Warning: PHP Startup: imagick: Unable to initialize module
010+ Module compiled with module API=20151012
011+ PHP compiled with module API=20160303
012+ These options need to match
013+ in Unknown on line 0
014+ PHP Warning: PHP Startup: swoole: Unable to initialize module
015+ Module compiled with module API=20151012
016+ PHP compiled with module API=20160303
017+ These options need to match
018+ in Unknown on line 0
019+ PHP Warning: PHP Startup: yaconf: Unable to initialize module
020+ Module compiled with module API=20151012
021+ PHP compiled with module API=20160303
022+ These options need to match
023+ in Unknown on line 0
012- Warning: stream_socket_client(): unable to connect to %s (Unknown error) in %s on line %d
015- Warning: stream_socket_client(): Invalid peer_fingerprint array; [algo => fingerprint] form required in %s on line %d
017- Warning: stream_socket_client(): peer_fingerprint match failure in %s on line %d
019- Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
020-
021- Warning: stream_socket_client(): unable to connect to %s (Unknown error) in %s on line %d
023-
025+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/php-src-php-7.1.12/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 7
028+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/php-src-php-7.1.12/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
029+ bool(false)
031+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/php-src-php-7.1.12/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 15
032+ bool(false)
034+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/php-src-php-7.1.12/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 19
036+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /home/php-src-php-7.1.12/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 10
024- Warning: stream_socket_client(): Invalid peer_fingerprint array; [algo => fingerprint] form required in %s on line %d
025-
026- Warning: stream_socket_client(): peer_fingerprint match failure in %s on line %d
027-
028- Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
029-
030- Warning: stream_socket_client(): unable to connect to %s (Unknown error) in %s on line %d
031- bool(false)
1 (6%)
001+ Xdebug requires Zend Engine API version 320151012.
002+ The Zend Engine API version 320160303 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(): Expected peer fingerprint must be a string or an array in %s on line %d
003- Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
005+ PHP Warning: PHP Startup: yaconf: Unable to initialize module
006+ Module compiled with module API=20151012
007+ PHP compiled with module API=20160303
008+ These options need to match
009+ in Unknown on line 0
005- Warning: stream_socket_client(): unable to connect to %s (Unknown error) in %s on line %d
008- Warning: stream_socket_client(): Expected peer fingerprint must be a string or an array in %s on line %d
010- Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
011+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/php-src-php-7.1.12/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 7
012- Warning: stream_socket_client(): unable to connect to %s (Unknown error) in %s on line %d
014+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/php-src-php-7.1.12/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
015+ bool(false)
014-
017+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/php-src-php-7.1.12/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 15
018+ bool(false)
020+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/php-src-php-7.1.12/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 19
022+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /root/php-src-php-7.1.12/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 10
015- Warning: stream_socket_client(): Invalid peer_fingerprint array; [algo => fingerprint] form required in %s on line %d
016-
017- Warning: stream_socket_client(): peer_fingerprint match failure in %s on line %d
018-
019- Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
020-
021- Warning: stream_socket_client(): unable to connect to %s (Unknown error) in %s on line %d
022- bool(false)
023-
024- Warning: stream_socket_client(): Invalid peer_fingerprint array; [algo => fingerprint] form required in %s on line %d
025-
026- Warning: stream_socket_client(): peer_fingerprint match failure in %s on line %d
027-
028- Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
029-
030- Warning: stream_socket_client(): unable to connect to %s (Unknown error) in %s on line %d
031- bool(false)
1 (6%)
001+ PHP Warning: yaconf.directory[/data/configcenter] is not exist in Unknown on line 0
002+
1 (6%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20160303/redis.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20160303/redis.so: cannot open shared object file: No such file or directory in Unknown on line 0
002+
1 (6%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_mysql.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_mysql.dll: 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 '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
003+
1 (6%)
001+ PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'mbstring.so' in Unknown on line 0
002+ PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zlib.so' in Unknown on line 0
003+
1 (6%)
001+ PHP Warning: Module 'mbstring' already loaded in Unknown on line 0
002+ PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'iconv.so' in Unknown on line 0
003+
1 (6%)
001+ PHP Warning: Module 'ftp' already loaded in Unknown on line 0
002+
1 (6%)
001+ Failed loading /usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/opcache.so: /usr/local/php7/lib/php/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/local/php7/lib/php/extensions/no-debug-non-zts-20160303/mysqli.so' - /usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
001- Warning: stream_socket_client(): Expected peer fingerprint must be a string or an array 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 /usr/local/src/php-7.1.12/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 7
005+ bool(false)
005- Warning: stream_socket_client(): unable to connect to %s (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 /usr/local/src/php-7.1.12/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
008- Warning: stream_socket_client(): Expected peer fingerprint must be a string or an array in %s on line %d
010+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-7.1.12/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 15
011+ bool(false)
010- Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
011-
012- Warning: stream_socket_client(): unable to connect to %s (Unknown error) in %s on line %d
013+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-7.1.12/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 19
014-
015+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /usr/local/src/php-7.1.12/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 10
015- Warning: stream_socket_client(): Invalid peer_fingerprint array; [algo => fingerprint] form required in %s on line %d
016-
017- Warning: stream_socket_client(): peer_fingerprint match failure in %s on line %d
018-
019- Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
020-
021- Warning: stream_socket_client(): unable to connect to %s (Unknown error) in %s on line %d
022- bool(false)
023-
024- Warning: stream_socket_client(): Invalid peer_fingerprint array; [algo => fingerprint] form required in %s on line %d
025-
026- Warning: stream_socket_client(): peer_fingerprint match failure in %s on line %d
027-
028- Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
029-
030- Warning: stream_socket_client(): unable to connect to %s (Unknown error) in %s on line %d
031- bool(false)
1 (6%)
001+ Failed loading /usr/local/lib/php/extensions/no-debug-zts-20160303/opcache.so: /usr/local/lib/php/extensions/no-debug-zts-20160303/opcache.so: cannot open shared object file: No such file or directory
002+
1 (6%)
001+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20160303/opcache.so: /usr/local/lib/php/extensions/no-debug-non-zts-20160303/opcache.so: cannot open shared object file: No such file or directory
001- Warning: stream_socket_client(): Expected peer fingerprint must be a string or an array in %s on line %d
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /src/http/php-7.1.12/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 7
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 %s (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 /src/http/php-7.1.12/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
008- Warning: stream_socket_client(): Expected peer fingerprint must be a string or an array in %s on line %d
009+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /src/http/php-7.1.12/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 15
010+ bool(false)
010- Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
011-
012- Warning: stream_socket_client(): unable to connect to %s (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 /src/http/php-7.1.12/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 19
014-
015- Warning: stream_socket_client(): Invalid peer_fingerprint array; [algo => fingerprint] form required in %s on line %d
016-
017- Warning: stream_socket_client(): peer_fingerprint match failure in %s on line %d
018-
019- Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
020-
021- Warning: stream_socket_client(): unable to connect to %s (Unknown error) in %s on line %d
022- bool(false)
023-
024- Warning: stream_socket_client(): Invalid peer_fingerprint array; [algo => fingerprint] form required in %s on line %d
025-
026- Warning: stream_socket_client(): peer_fingerprint match failure in %s on line %d
027-
028- Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
029-
030- Warning: stream_socket_client(): unable to connect to %s (Unknown error) in %s on line %d
031- bool(false)
1 (6%)
001+ Failed loading /alidata/server/php/lib/php/extensions/no-debug-non-zts-20121212/ZendGuardLoader.so: /alidata/server/php/lib/php/extensions/no-debug-non-zts-20121212/ZendGuardLoader.so: undefined symbol: zval_used_for_init
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/alidata/server/php/lib/php/extensions/no-debug-non-zts-20121212/memcache.so' - /alidata/server/php/lib/php/extensions/no-debug-non-zts-20121212/memcache.so: undefined symbol: zval_used_for_init in Unknown on line 0
003+