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

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

Count Diff
1586 (98%)
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/src/php/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 (0%)
001+ Warning: stream_socket_client(): SSL: Success in /root/php-7.3.1/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 (0%)
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 /tmp/php-7.3.1/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 (0%)
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 /php-7.3.1/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 (0%)
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 /u01/downloads/done/php-7.3.1/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 (0%)
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 /tool/packages/test/php-7.3.1/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 (0%)
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 /tmp/php-7.3.1/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 (0%)
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.1/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 (0%)
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 /zyl/php-7.3.1/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 (0%)
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/var/php-7.3.1/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 (0%)
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.1/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 (0%)
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 /instalaciones/php-7.3.1/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 (0%)
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/root/php-7.3.1/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 (0%)
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/fyd/下载/php-7.3.1/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 (0%)
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/bae/php-7.3.1/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 (0%)
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 /data/download/php-7.3.1/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 (0%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/redis.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/redis.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/redis.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/redis.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 'event.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/event.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/event.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/event.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/event.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: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/uuid.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/uuid.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/uuid.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/uuid.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
004+
1 (0%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'pthreads.so' (tried: /usr/lib64/20180731-zts/pthreads.so (/usr/lib64/20180731-zts/pthreads.so: cannot open shared object file: No such file or directory), /usr/lib64/20180731-zts/pthreads.so.so (/usr/lib64/20180731-zts/pthreads.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+
1 (0%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: /usr/local/php/etc/extension/openssl (/usr/local/php/etc/extension/openssl: cannot open shared object file: No such file or directory), /usr/local/php/etc/extension/openssl.so (/usr/local/php/etc/extension/openssl.so: cannot open shared object file: No such file or directory)) 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(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
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
1 (0%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20131226/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20131226/imagick.so: undefined symbol: spl_ce_Countable), /usr/local/lib/php/extensions/no-debug-non-zts-20131226/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20131226/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+
1 (0%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/php-7.3.1/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (libIlmImf.so.6: cannot open shared object file: No such file or directory), /opt/php-7.3.1/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so (/opt/php-7.3.1/lib/php/extensions/no-debug-non-zts-20180731/imagick.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 'mongodb.so' (tried: /opt/php-7.3.1/lib/php/extensions/no-debug-non-zts-20180731/mongodb.so (libicuuc.so.52: cannot open shared object file: No such file or directory), /opt/php-7.3.1/lib/php/extensions/no-debug-non-zts-20180731/mongodb.so.so (/opt/php-7.3.1/lib/php/extensions/no-debug-non-zts-20180731/mongodb.so.so: cannot open shared object file: No such file or directory)) 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
004+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /opt/php-7.3.1-src/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10