Test: /ext/openssl/tests/bug46127.phpt - Version 8.0.0beta1        

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

Count Diff
1 (25%)
001+ Warning: openssl_csr_new(): Private key length is too short; it needs to be at least 384 bits, not 0 in /usr/local/src/php-8.0.0beta1/ext/openssl/tests/CertificateGenerator.inc on line 128 001- Sending bug 46127 002+ 003+ Warning: openssl_csr_new(): Unable to generate a private key in /usr/local/src/php-8.0.0beta1/ext/openssl/tests/CertificateGenerator.inc on line 128 004+ 005+ Warning: openssl_csr_sign(): X.509 Certificate Signing Request cannot be retrieved in /usr/local/src/php-8.0.0beta1/ext/openssl/tests/CertificateGenerator.inc on line 132 006+ 007+ Fatal error: Uncaught Exception: Failed to create certificate in /usr/local/src/php-8.0.0beta1/ext/openssl/tests/CertificateGenerator.inc:135 008+ Stack trace: 009+ #0 %s/bug46127.php(36): CertificateGenerator->saveNewCertAsFileWithKey('bug46127', '/usr/local/src/...') 010+ #1 {main} 011+ thrown in /usr/local/src/php-8.0.0beta1/ext/openssl/tests/CertificateGenerator.inc on line 135
1 (25%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'parallel' (tried: /opt/zts/lib/php/extensions/debug-non-zts-20200804/parallel (/opt/zts/lib/php/extensions/debug-non-zts-20200804/parallel: cannot open shared object file: No such file or directory), /opt/zts/lib/php/extensions/debug-non-zts-20200804/parallel.so (/opt/zts/lib/php/extensions/debug-non-zts-20200804/parallel.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 001- Sending bug 46127 002+ 003+ Warning: stream_socket_client(): Unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/piers/projects/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 004+ 005+ Fatal error: Uncaught TypeError: fgets(): Argument #1 ($handle) must be of type resource, bool given in /home/piers/projects/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code:12 006+ Stack trace: 007+ #0 /home/piers/projects/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code(12): fgets(false) 008+ #1 /home/piers/projects/php-src/ext/openssl/tests/ServerClientTestCase.inc(130): eval() 009+ #2 %s/bug46127.php(39): ServerClientTestCase->run(' $serverUri ...', Array) 010+ #3 {main} 011+ thrown in /home/piers/projects/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12 012+ PHP Notice: fwrite(): Write of 1 bytes failed with errno=32 Broken pipe in /home/piers/projects/php-src/ext/openssl/tests/ServerClientTestCase.inc on line 158
1 (25%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/nginx/php/lib/php/extensions/no-debug-non-zts-20200804/imagick.so (/usr/local/nginx/php/lib/php/extensions/no-debug-non-zts-20200804/imagick.so: cannot open shared object file: No such file or directory), /usr/local/nginx/php/lib/php/extensions/no-debug-non-zts-20200804/imagick.so.so (/usr/local/nginx/php/lib/php/extensions/no-debug-non-zts-20200804/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (25%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/lib64/extensions/no-debug-non-zts-20200804/opcache.so (/usr/lib64/extensions/no-debug-non-zts-20200804/opcache.so: cannot open shared object file: No such file or directory), /usr/lib64/extensions/no-debug-non-zts-20200804/opcache.so.so (/usr/lib64/extensions/no-debug-non-zts-20200804/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0