Test: /ext/openssl/tests/bug46127.phpt - Version 7.1.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 31 different diffs reported by users for this test.

Count Diff
185 (49%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/src/php/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/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/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/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
147 (39%)
001+ Warning: stream_socket_client(): SSL: Success in /usr/src/php/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/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/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/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
11 (3%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/src/php-7.1.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.1.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.1.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.1.33-sdv/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
3 (1%)
001+ Warning: stream_socket_client(): SSL: Success in /usr/local/src/php-7.1.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.1.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.1.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.1.33-sdv/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
3 (1%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/src/php-7.1.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.1.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.1.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.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
2 (1%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/src/php-7.1.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-7.1.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-7.1.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-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
2 (1%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /etc/php71/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 /etc/php71/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 /etc/php71/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 /etc/php71/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
2 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/imagick.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
001- Sending bug 46127
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/imagick.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/imagick.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 '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/sodium.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/sodium.so: cannot open shared object file: No such file or directory in Unknown on line 0
004+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/usr/local/php-7.1.33/ext/openssl/tests/bug46127.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in /usr/local/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 10
005+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 10
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/local/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 10
007+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
008+
009+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
010+
011+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
012+
013+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
014+
015+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
2 (1%)
001+ Failed loading /usr/local/php-7.1.33/lib/php/extensions/no-debug-non-zts-20160303/opcache.so: /usr/local/php-7.1.33/lib/php/extensions/no-debug-non-zts-20160303/opcache.so: cannot open shared object file: No such file or directory
1 (0%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/Desktop/git/package_build_env/env_pack/tmp/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: fgets() expects parameter 1 to be resource, boolean given in /root/Desktop/git/package_build_env/env_pack/tmp/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (0%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /DATA/src/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: fgets() expects parameter 1 to be resource, boolean given in /DATA/src/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (0%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /DATA/STUB/src/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: fgets() expects parameter 1 to be resource, boolean given in /DATA/STUB/src/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (0%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /DATA/STUB/downloads/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: fgets() expects parameter 1 to be resource, boolean given in /DATA/STUB/downloads/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (0%)
001+ Warning: stream_socket_client(): SSL: Success in /tmp/php-7.1.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 /tmp/php-7.1.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 /tmp/php-7.1.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 /tmp/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (0%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/src/php7.1-build/php-7.1.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.1-build/php-7.1.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.1-build/php-7.1.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.1-build/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (0%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/src/php-7.1.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/src/php-7.1.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/src/php-7.1.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/src/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (0%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/php-7.1.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.1.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.1.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.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (0%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/packages/php-7.1.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/packages/php-7.1.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/packages/php-7.1.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/packages/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (0%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/lnmp1.8/src/php-7.1.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/lnmp1.8/src/php-7.1.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/lnmp1.8/src/php-7.1.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/lnmp1.8/src/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (0%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/install/php-7.1/php-7.1.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/install/php-7.1/php-7.1.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/install/php-7.1/php-7.1.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/install/php-7.1/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (0%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /opt/soft/php-7.1.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/soft/php-7.1.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/soft/php-7.1.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/soft/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12