Test: /ext/openssl/tests/bug65729.phpt - Version 5.6.0alpha3        

Bug #65729 CN_match gives false positive
Submitted: 2013-09-21 08:27:27 Modified: 2013-10-08 14:02:09
From: datibbaw Assigned: mike
Status: Closed Package: OpenSSL related
PHP Version: master-Git-2013-09-21 (Git) OS: Linux

There are 3 different diffs reported by users for this test.

Count Diff
1 (33%)
008+
009+ Warning: stream_socket_client(): SSL: crypto enabling timeout in /home/ockeghem/php-src-php-5.6.0alpha3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 14
010+
011+ Warning: stream_socket_client(): Failed to enable crypto in /home/ockeghem/php-src-php-5.6.0alpha3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 14
012+
013+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/ockeghem/php-src-php-5.6.0alpha3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 14
014+ bool(false)
008- resource(%d) of type (stream)
1 (33%)
001+ Warning: stream_socket_client(): SSL: crypto enabling timeout in /usr/src/php-5.6.0alpha3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 14
001- Warning: stream_socket_client(): Peer certificate CN=`*.test.com' did not match expected CN=`foo.test.com.sg' in %s on line %d
010+ Warning: stream_socket_client(): SSL: crypto enabling timeout in /usr/src/php-5.6.0alpha3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 14
010- Warning: stream_socket_client(): Peer certificate CN=`*.test.com' did not match expected CN=`foo.bar.test.com' in %s on line %d
1 (33%)
001+ PHP Warning: PHP Startup: http: 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: propro: Unable to initialize module
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: raphf: 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: uploadprogress: 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
001- Warning: stream_socket_client(): Peer certificate CN=`*.test.com' did not match expected CN=`foo.test.com.sg' 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- resource(%d) of type (stream)
008- resource(%d) of type (stream)
009-
010- Warning: stream_socket_client(): Peer certificate CN=`*.test.com' did not match expected CN=`foo.bar.test.com' in %s on line %d
022+ Warning: stream_socket_client(): Peer certificate CN=`*.test.com' did not match expected CN=`foo.test.com.sg' in /usr/src/php-5.6.0alpha3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 14
023+
028+ resource(11) of type (stream)
029+ resource(13) of type (stream)
030+
031+ Warning: stream_socket_client(): Peer certificate CN=`*.test.com' did not match expected CN=`foo.bar.test.com' in /usr/src/php-5.6.0alpha3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 14
032+
033+ Warning: stream_socket_client(): Failed to enable crypto in /usr/src/php-5.6.0alpha3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 14
034+
035+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/src/php-5.6.0alpha3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 14
036+ bool(false)