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

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

Count Diff
25 (15%)
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 /usr/local/src/php-7.3.0/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
13 (8%)
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 /root/php-7.3.0/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
8 (5%)
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 /usr/local/php-7.3.0/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
3 (2%)
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 /root/php-7.3.0/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
3 (2%)
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.3.0/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
3 (2%)
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/php7.3-build/php-7.3.0/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
2 (1%)
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 /usr/local/src/php-7.3.0/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
2 (1%)
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/dx/install/php-7.3.0/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
2 (1%)
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/php-7.3.0/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
2 (1%)
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 /opt/php-7.3.0/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
2 (1%)
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 /root/lnmp/php-7.3.0/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
2 (1%)
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 /usr/local/php/php-7.3.0/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
2 (1%)
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 /usr/src/php-7.3.0/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
2 (1%)
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 /root/php-src-php-7.3.0/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 (1%)
001+ Failed loading /etc/kernix/extensions/opcache.so: /etc/kernix/extensions/opcache.so: undefined symbol: _zval_ptr_dtor
002+
003+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
004+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /opt/php-7.3.0/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 (1%)
001+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: /usr/local/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: undefined symbol: zend_hash_num_elements
002+
003+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
004+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /root/php-7.3.0/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 (1%)
001+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: /usr/local/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: undefined symbol: zend_opcode_handlers
002+
003+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
004+ error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /usr/local/src/php-7.3.0/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 (1%)
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+
1 (1%)
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: Unable to load dynamic library 'apcu.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/apcu.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/apcu.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/apcu.so.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/apcu.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 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/imagick.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/imagick.so.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
004+
1 (1%)
001+ Failed loading /usr/local/php/lib/php/extensions/no-debug-zts-20170718/opcache.so: /usr/local/php/lib/php/extensions/no-debug-zts-20170718/opcache.so: undefined symbol: _zval_ptr_dtor
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-zts-20170718/imagick.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20170718/imagick.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/imagick.so: undefined symbol: _zval_ptr_dtor), /usr/local/php/lib/php/extensions/no-debug-zts-20180731//usr/local/php/lib/php/extensions/no-debug-zts-20170718/imagick.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731//usr/local/php/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
003+ PHP Warning: PHP Startup: mailparse: Unable to initialize module
004+ Module compiled with module API=20170718
005+ PHP compiled with module API=20180731
006+ These options need to match
007+ in Unknown on line 0
008+ PHP Warning: PHP Startup: geoip: Unable to initialize module
009+ Module compiled with module API=20170718
010+ PHP compiled with module API=20180731
011+ These options need to match
012+ 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
002-
003- Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
014+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
015+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/local/src/customdpkgs/php/php-7.3.0/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
016+
017+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/customdpkgs/php/php-7.3.0/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
018+
1 (1%)
001+ Failed loading /usr/pkg/lib/php/20170718/opcache.so: /usr/pkg/lib/php/20170718/opcache.so: Undefined symbol "_zval_ptr_dtor" (symnum = 162)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'apcu.so' (tried: /usr/pkg/lib/php/20181200/apcu.so (Cannot open "/usr/pkg/lib/php/20181200/apcu.so"), /usr/pkg/lib/php/20181200/apcu.so.so (Cannot open "/usr/pkg/lib/php/20181200/apcu.so.so")) in Unknown on line 0
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/pkg/lib/php/20181200/curl.so (Cannot open "/usr/pkg/lib/php/20181200/curl.so"), /usr/pkg/lib/php/20181200/curl.so.so (Cannot open "/usr/pkg/lib/php/20181200/curl.so.so")) in Unknown on line 0
004+ PHP Warning: PHP Startup: Unable to load dynamic library 'exif.so' (tried: /usr/pkg/lib/php/20181200/exif.so (Cannot open "/usr/pkg/lib/php/20181200/exif.so"), /usr/pkg/lib/php/20181200/exif.so.so (Cannot open "/usr/pkg/lib/php/20181200/exif.so.so")) in Unknown on line 0
005+ PHP Warning: PHP Startup: Unable to load dynamic library 'gd.so' (tried: /usr/pkg/lib/php/20181200/gd.so (Cannot open "/usr/pkg/lib/php/20181200/gd.so"), /usr/pkg/lib/php/20181200/gd.so.so (Cannot open "/usr/pkg/lib/php/20181200/gd.so.so")) in Unknown on line 0
006+ PHP Warning: PHP Startup: Unable to load dynamic library 'iconv.so' (tried: /usr/pkg/lib/php/20181200/iconv.so (Cannot open "/usr/pkg/lib/php/20181200/iconv.so"), /usr/pkg/lib/php/20181200/iconv.so.so (Cannot open "/usr/pkg/lib/php/20181200/iconv.so.so")) 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
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 'json.so' (tried: /usr/pkg/lib/php/20181200/json.so (Cannot open "/usr/pkg/lib/php/20181200/json.so"), /usr/pkg/lib/php/20181200/json.so.so (Cannot open "/usr/pkg/lib/php/20181200/json.so.so")) in Unknown on line 0
008+ PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring.so' (tried: /usr/pkg/lib/php/20181200/mbstring.so (Cannot open "/usr/pkg/lib/php/20181200/mbstring.so"), /usr/pkg/lib/php/20181200/mbstring.so.so (Cannot open "/usr/pkg/lib/php/20181200/mbstring.so.so")) in Unknown on line 0
009+ PHP Warning: PHP Startup: Unable to load dynamic library 'pcntl.so' (tried: /usr/pkg/lib/php/20181200/pcntl.so (Cannot open "/usr/pkg/lib/php/20181200/pcntl.so"), /usr/pkg/lib/php/20181200/pcntl.so.so (Cannot open "/usr/pkg/lib/php/20181200/pcntl.so.so")) in Unknown on line 0
010+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo.so' (tried: /usr/pkg/lib/php/20181200/pdo.so (Cannot open "/usr/pkg/lib/php/20181200/pdo.so"), /usr/pkg/lib/php/20181200/pdo.so.so (Cannot open "/usr/pkg/lib/php/20181200/pdo.so.so")) in Unknown on line 0
011+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_pgsql.so' (tried: /usr/pkg/lib/php/20181200/pdo_pgsql.so (Cannot open "/usr/pkg/lib/php/20181200/pdo_pgsql.so"), /usr/pkg/lib/php/20181200/pdo_pgsql.so.so (Cannot open "/usr/pkg/lib/php/20181200/pdo_pgsql.so.so")) in Unknown on line 0
012+ PHP Warning: PHP Startup: Unable to load dynamic library 'posix.so' (tried: /usr/pkg/lib/php/20181200/posix.so (Cannot open "/usr/pkg/lib/php/20181200/posix.so"), /usr/pkg/lib/php/20181200/posix.so.so (Cannot open "/usr/pkg/lib/php/20181200/posix.so.so")) in Unknown on line 0
013+ PHP Warning: PHP Startup: Unable to load dynamic library 'zip.so' (tried: /usr/pkg/lib/php/20181200/zip.so (Cannot open "/usr/pkg/lib/php/20181200/zip.so"), /usr/pkg/lib/php/20181200/zip.so.so (Cannot open "/usr/pkg/lib/php/20181200/zip.so.so")) in Unknown on line 0
014+ PHP Warning: PHP Startup: Unable to load dynamic library 'zlib.so' (tried: /usr/pkg/lib/php/20181200/zlib.so (Cannot open "/usr/pkg/lib/php/20181200/zlib.so"), /usr/pkg/lib/php/20181200/zlib.so.so (Cannot open "/usr/pkg/lib/php/20181200/zlib.so.so")) in Unknown on line 0
015+
016+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
017+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mnt/sd0d/usr/pkgsrc/lang/php73/work/php-7.3.0/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
018+
019+ Warning: stream_socket_client(): Failed to enable crypto in /mnt/sd0d/usr/pkgsrc/lang/php73/work/php-7.3.0/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
020+
021+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /mnt/sd0d/usr/pkgsrc/lang/php73/work/php-7.3.0/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
022+ bool(false)