Test: /ext/openssl/tests/bug54992.phpt - Version 5.6.0beta1        

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

Count Diff
3 (60%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/src/webserver/php/php-5.6.0beta1/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 (20%)
001+ PHP Warning: PHP Startup: bbcode: Unable to initialize module
002+ Module compiled with module API=20121212
003+ PHP compiled with module API=20131226
004+ These options need to match
005+ in Unknown on line 0
006+ PHP Warning: PHP Startup: http: Unable to initialize module
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+ Module compiled with module API=20121212
008+ PHP compiled with module API=20131226
009+ These options need to match
010+ in Unknown on line 0
011+ PHP Warning: PHP Startup: propro: Unable to initialize module
012+ Module compiled with module API=20121212
013+ PHP compiled with module API=20131226
014+ These options need to match
015+ in Unknown on line 0
016+ PHP Warning: PHP Startup: raphf: Unable to initialize module
017+ Module compiled with module API=20121212
018+ PHP compiled with module API=20131226
019+ These options need to match
020+ in Unknown on line 0
021+ PHP Warning: PHP Startup: uploadprogress: Unable to initialize module
022+ Module compiled with module API=20121212
023+ PHP compiled with module API=20131226
024+ These options need to match
025+ in Unknown on line 0
026+
027+ Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in /usr/src/php-5.6.0beta1/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
028+
029+ Warning: stream_socket_client(): Failed to enable crypto in /usr/src/php-5.6.0beta1/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
030+
031+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/src/php-5.6.0beta1/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
032+ bool(false)
1 (20%)
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: cannot open shared object file: No such file or directory
002+