Test: /ext/openssl/tests/bug54992.phpt - Version 7.4.0RC1        

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

Count Diff
2 (40%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/share/php7.4/lib/php/extensions/no-debug-non-zts-20190902/imagick.so (/usr/share/php7.4/lib/php/extensions/no-debug-non-zts-20190902/imagick.so: cannot open shared object file: No such file or directory), /usr/share/php7.4/lib/php/extensions/no-debug-non-zts-20190902/imagick.so.so (/usr/share/php7.4/lib/php/extensions/no-debug-non-zts-20190902/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 'intl.so' (tried: /usr/share/php7.4/lib/php/extensions/no-debug-non-zts-20190902/intl.so (/usr/share/php7.4/lib/php/extensions/no-debug-non-zts-20190902/intl.so: cannot open shared object file: No such file or directory), /usr/share/php7.4/lib/php/extensions/no-debug-non-zts-20190902/intl.so.so (/usr/share/php7.4/lib/php/extensions/no-debug-non-zts-20190902/intl.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 'mcrypt.so' (tried: /usr/share/php7.4/lib/php/extensions/no-debug-non-zts-20190902/mcrypt.so (/usr/share/php7.4/lib/php/extensions/no-debug-non-zts-20190902/mcrypt.so: cannot open shared object file: No such file or directory), /usr/share/php7.4/lib/php/extensions/no-debug-non-zts-20190902/mcrypt.so.so (/usr/share/php7.4/lib/php/extensions/no-debug-non-zts-20190902/mcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
004+ PHP Warning: PHP Startup: Unable to load dynamic library 'ssh2.so' (tried: /usr/share/php7.4/lib/php/extensions/no-debug-non-zts-20190902/ssh2.so (/usr/share/php7.4/lib/php/extensions/no-debug-non-zts-20190902/ssh2.so: cannot open shared object file: No such file or directory), /usr/share/php7.4/lib/php/extensions/no-debug-non-zts-20190902/ssh2.so.so (/usr/share/php7.4/lib/php/extensions/no-debug-non-zts-20190902/ssh2.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
005+
1 (20%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/share/php7.4/lib/php/extensions/no-debug-non-zts-20190902/imagick.so (/usr/share/php7.4/lib/php/extensions/no-debug-non-zts-20190902/imagick.so: cannot open shared object file: No such file or directory), /usr/share/php7.4/lib/php/extensions/no-debug-non-zts-20190902/imagick.so.so (/usr/share/php7.4/lib/php/extensions/no-debug-non-zts-20190902/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 'mcrypt.so' (tried: /usr/share/php7.4/lib/php/extensions/no-debug-non-zts-20190902/mcrypt.so (/usr/share/php7.4/lib/php/extensions/no-debug-non-zts-20190902/mcrypt.so: cannot open shared object file: No such file or directory), /usr/share/php7.4/lib/php/extensions/no-debug-non-zts-20190902/mcrypt.so.so (/usr/share/php7.4/lib/php/extensions/no-debug-non-zts-20190902/mcrypt.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 'ssh2.so' (tried: /usr/share/php7.4/lib/php/extensions/no-debug-non-zts-20190902/ssh2.so (/usr/share/php7.4/lib/php/extensions/no-debug-non-zts-20190902/ssh2.so: cannot open shared object file: No such file or directory), /usr/share/php7.4/lib/php/extensions/no-debug-non-zts-20190902/ssh2.so.so (/usr/share/php7.4/lib/php/extensions/no-debug-non-zts-20190902/ssh2.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
004+
005+ Warning: stream_socket_client(): SSL: Success in /usr/src/php7.4/php-7.4.0RC1/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
1 (20%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
1 (20%)
001+ Warning: stream_socket_client(): SSL: Success in /usr/src/php-7.4.0RC1/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d