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

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
2 (50%)
001+ Warning: openssl_csr_new(): Error loading request_extensions_section section v3_req of /etc/ssl/ in /home/daneel/Descargas/php-src/ext/openssl/tests/CertificateGenerator.inc on line 97
002+
003+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in /home/daneel/Descargas/php-src/ext/openssl/tests/CertificateGenerator.inc on line 100
004+
005+ Warning: openssl_x509_export(): cannot get cert from parameter 1 in /home/daneel/Descargas/php-src/ext/openssl/tests/CertificateGenerator.inc on line 104
006+
007+ Warning: stream_socket_client(): SSL: Success in /home/daneel/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 (25%)
001+ Warning: stream_socket_client(): SSL: Success in /home/lucky/Downloads/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 (25%)
001+ Warning: stream_socket_client(): SSL: Success in /usr/local/src/php7source/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