Test: /ext/openssl/tests/bug46127.phpt - Version 7.0.33        

Bug #46127 [PATCH] php_openssl_tcp_sockop_accept forgets to set context on accepted stream
Submitted: 2008-09-19 15:50:36 Modified: 2008-11-16 23:23:38
From: mark Assigned: pajoye
Status: Closed Package: OpenSSL related
PHP Version: 5.3CVS-2008-11-11 OS: *

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

Count Diff
13 (23%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/src/php-7.0.33-sdv/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-7.0.33-sdv/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php-7.0.33-sdv/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.0.33-sdv/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
2 (4%)
001+ Warning: stream_socket_client(): SSL: Success in /usr/local/src/php-7.0.33-sdv/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-7.0.33-sdv/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php-7.0.33-sdv/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.0.33-sdv/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
2 (4%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/work/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /root/work/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /root/work/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /root/work/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
2 (4%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/php-src-php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /root/php-src-php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /root/php-src-php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /root/php-src-php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
2 (4%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /opt/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /opt/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /opt/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /opt/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Success in /usr/local/src/php7-build/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php7-build/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php7-build/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/src/php7-build/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Success in /usr/local/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Success in /usr/local/src/php-7.0-build/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-7.0-build/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php-7.0-build/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.0-build/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Success in /root/php/php-src/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /root/php/php-src/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /root/php/php-src/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /root/php/php-src/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Success in /root/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /root/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /root/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /root/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Success in /php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Success in /home/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /home/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Success in /home/owen/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /home/owen/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/owen/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/owen/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Success in /home/friedkiwi/downloads/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /home/friedkiwi/downloads/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/friedkiwi/downloads/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/friedkiwi/downloads/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Success in /home/daniel/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /home/daniel/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/daniel/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/daniel/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/src/php/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/src/php/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/src/php/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/src/php/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/src/php_source/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php_source/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php_source/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/src/php_source/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/sources/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /root/sources/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /root/sources/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /root/sources/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/software/php/extract/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /root/software/php/extract/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /root/software/php/extract/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /root/software/php/extract/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/php/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /root/php/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /root/php/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /root/php/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12