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

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

Count Diff
2 (22%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/usr/local/src/php/php-7.1.26/ext/openssl/tests/san-cert.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in /usr/local/src/php/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 10
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/src/php/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 10
003+
004+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/src/php/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 7
001- Warning: stream_socket_client(): Expected peer fingerprint must be a string or an array 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+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/local/src/php/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 10
011+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/usr/local/src/php/php-7.1.26/ext/openssl/tests/san-cert.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in /usr/local/src/php/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
012+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/src/php/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
014+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/src/php/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
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
020+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/local/src/php/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
021+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/usr/local/src/php/php-7.1.26/ext/openssl/tests/san-cert.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in /usr/local/src/php/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 12
022+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/src/php/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 12
023-
024+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/src/php/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 15
026+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 15
028+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 15
029+ bool(false)
030+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/local/src/php/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 12
031+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/usr/local/src/php/php-7.1.26/ext/openssl/tests/san-cert.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in /usr/local/src/php/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 13
032+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/src/php/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 13
033+
034+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/src/php/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 19
035+
040+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/local/src/php/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 13
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)
2 (22%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/oci8.so' - /usr/local/lib/php/extensions/no-debug-zts-20160303/oci8.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/local/lib/php/extensions/no-debug-zts-20160303/memcached.so' - /usr/local/lib/php/extensions/no-debug-zts-20160303/memcached.so: cannot open shared object file: No such file or directory in Unknown on line 0
003+
2 (22%)
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: undefined symbol: sapi_globals_id
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/oci8.so' - /usr/local/lib/php/extensions/no-debug-zts-20160303/oci8.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/local/lib/php/extensions/no-debug-zts-20160303/memcached.so' - /usr/local/lib/php/extensions/no-debug-zts-20160303/memcached.so: cannot open shared object file: No such file or directory in Unknown on line 0
004+ PHP Warning: PHP Startup: propro: Unable to initialize module
005+ Module compiled with build ID=API20160303,TS
006+ PHP compiled with build ID=API20160303,NTS
007+ These options need to match
008+ in Unknown on line 0
009+ PHP Warning: PHP Startup: raphf: Unable to initialize module
010+ Module compiled with build ID=API20160303,TS
011+ PHP compiled with build ID=API20160303,NTS
012+ These options need to match
013+ in Unknown on line 0
014+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/http.so' - /usr/local/lib/php/extensions/no-debug-zts-20160303/http.so: undefined symbol: core_globals_id in Unknown on line 0
015+
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-
023+ Warning: stream_socket_client(): Expected peer fingerprint must be a string or an array in /usr/src/php7/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
024+
025+ Warning: stream_socket_client(): Failed to enable crypto in /usr/src/php7/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
026+
027+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/src/php7/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
028+ bool(false)
029+
1 (11%)
001+ Xdebug requires Zend Engine API version 220060519.
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
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
005+ PHP Warning: PHP Startup: imagick: Unable to initialize module
006+ Module compiled with module API=20060613
007+ PHP compiled with module API=20160303
008+ These options need to match
009+ in Unknown on line 0
010+ PHP Warning: PHP Startup: eAccelerator: Unable to initialize module
011+ Module compiled with module API=20060613
012+ PHP compiled with module API=20160303
013+ These options need to match
014+ in Unknown on line 0
015+ PHP Warning: PHP Startup: memcache: Unable to initialize module
016+ Module compiled with module API=20060613
017+ PHP compiled with module API=20160303
018+ These options need to match
019+ in Unknown on line 0
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
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
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
021+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/nishikawa/src/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 7
022+ bool(false)
024+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/nishikawa/src/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
027+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/nishikawa/src/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 15
028+ bool(false)
030+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/nishikawa/src/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 19
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 (11%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_mbstring.dll' - /usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_mbstring.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/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_firebird.dll' - /usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_firebird.dll: 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/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_mysql.dll' - /usr/local/php7/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
004+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_oci.dll' - /usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_oci.dll: 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/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_odbc.dll' - /usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_odbc.dll: 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/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_pgsql.dll' - /usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_pgsql.dll: 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/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_sqlite.dll' - /usr/local/php7/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_sqlite.dll: 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
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
009+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 7
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 /usr/local/src/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
014-
015+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 15
016+ bool(false)
018+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-7.1.26/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 19
020+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /usr/local/src/php-7.1.26/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 (11%)
001+ Failed loading /etc/kernix/extensions/opcache.so: /etc/kernix/extensions/opcache.so: undefined symbol: zend_known_strings
002+