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

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

Count Diff
2 (6%)
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/php56/ext/openssl/tests/ServerClientTestCase.inc(92) : 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 (3%)
001+ eAccelerator requires Zend Engine API version 220090626.
002+ The Zend Engine API version 220131226 which is installed, is newer.
003+ Contact eAccelerator at http://eaccelerator.net for a later version of eAccelerator.
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
006- bool(false)
005+ PHP Warning: PHP Startup: magickwand: Unable to initialize module
006+ Module compiled with module API=20090626
007+ PHP compiled with module API=20131226
008+ These options need to match
009+ in Unknown on line 0
010+ PHP Warning: PHP Startup: memcache: Unable to initialize module
011+ Module compiled with module API=20090626
012+ PHP compiled with module API=20131226
013+ These options need to match
014+ in Unknown on line 0
015+ PHP Warning: PHP Startup: sphinx: Unable to initialize module
016+ Module compiled with module API=20090626
017+ PHP compiled with module API=20131226
018+ These options need to match
019+ in Unknown on line 0
020+
021+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/lnmp/php-5.6.10/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
022+ bool(false)
1 (3%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/src/php-5.6.10/ext/openssl/tests/ServerClientTestCase.inc(92) : 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
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
1 (3%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-5.6.10/ext/openssl/tests/ServerClientTestCase.inc(92) : 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
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
1 (3%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/partition1/php-5.6.10/ext/openssl/tests/ServerClientTestCase.inc(92) : 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
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
1 (3%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/fred/patches/Slackware-Current/source/n/php-current/php/php-5.6.10/ext/openssl/tests/ServerClientTestCase.inc(92) : 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
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
1 (3%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /Users/anthony/Downloads/php-5.6.10/ext/openssl/tests/ServerClientTestCase.inc(92) : 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
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
1 (3%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /usr/src/php-5.6.10/ext/openssl/tests/ServerClientTestCase.inc(92) : 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 (3%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /usr/local/src/php-5.6.10/ext/openssl/tests/ServerClientTestCase.inc(92) : 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 (3%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /opt/src/php-5.6.10/ext/openssl/tests/ServerClientTestCase.inc(92) : 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 (3%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /opt/php/php-5.6.10/ext/openssl/tests/ServerClientTestCase.inc(92) : 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 (3%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /home/staging/php-5.6.10/ext/openssl/tests/ServerClientTestCase.inc(92) : 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 (3%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /home/pi/workSpace/src/php-5.6.10/ext/openssl/tests/ServerClientTestCase.inc(92) : 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 (3%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /home/pi/sources/php-5.6.10/ext/openssl/tests/ServerClientTestCase.inc(92) : 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 (3%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /home/pi/lemp-server/php/php-5.6.10/ext/openssl/tests/ServerClientTestCase.inc(92) : 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 (3%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /home/dirk/php-5.6.10/ext/openssl/tests/ServerClientTestCase.inc(92) : 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 (3%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /home/captain/packages/php-5.6.10/ext/openssl/tests/ServerClientTestCase.inc(92) : 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 (3%)
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-5.6.10/ext/openssl/tests/ServerClientTestCase.inc(92) : 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 (3%)
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-5.6.10/ext/openssl/tests/ServerClientTestCase.inc(92) : 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 (3%)
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-5.6.10/ext/openssl/tests/ServerClientTestCase.inc(92) : 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 (3%)
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/src/php-5.6.10/ext/openssl/tests/ServerClientTestCase.inc(92) : 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