Test: /ext/openssl/tests/bug65538_001.phpt - Version 7.4.21    

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

Count Diff
4 (33%)
001+ Warning: openssl_x509_export_to_file(): cannot get cert from parameter 1 in /usr/local/src/php-7.4.21/ext/openssl/tests/CertificateGenerator.inc on line 82 001- string(12) "Hello World!" 002+ 003+ 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-7.4.21/ext/openssl/tests/CertificateGenerator.inc on line 128 004+ 005+ Warning: openssl_csr_new(): Unable to generate a private key in /usr/local/src/php-7.4.21/ext/openssl/tests/CertificateGenerator.inc on line 128 006+ 007+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in /usr/local/src/php-7.4.21/ext/openssl/tests/CertificateGenerator.inc on line 132 008+ 009+ Fatal error: Uncaught Exception: Failed to create certificate in /usr/local/src/php-7.4.21/ext/openssl/tests/CertificateGenerator.inc:135 010+ Stack trace: 011+ #0 %s/bug65538_001.php(51): CertificateGenerator->saveNewCertAsFileWithKey('bug65538_001', '/usr/local/src/...') 012+ #1 {main} 013+ thrown in /usr/local/src/php-7.4.21/ext/openssl/tests/CertificateGenerator.inc on line 135
1 (8%)
001+ Warning: openssl_x509_export_to_file(): cannot get cert from parameter 1 in /tmp/compiletest/install_data/subdir/php/ext/openssl/tests/CertificateGenerator.inc on line 82 001- string(12) "Hello World!" 002+ 003+ Warning: openssl_csr_new(): private key length is too short; it needs to be at least 384 bits, not 0 in /tmp/compiletest/install_data/subdir/php/ext/openssl/tests/CertificateGenerator.inc on line 128 004+ 005+ Warning: openssl_csr_new(): Unable to generate a private key in /tmp/compiletest/install_data/subdir/php/ext/openssl/tests/CertificateGenerator.inc on line 128 006+ 007+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in /tmp/compiletest/install_data/subdir/php/ext/openssl/tests/CertificateGenerator.inc on line 132 008+ 009+ Fatal error: Uncaught Exception: Failed to create certificate in /tmp/compiletest/install_data/subdir/php/ext/openssl/tests/CertificateGenerator.inc:135 010+ Stack trace: 011+ #0 %s/bug65538_001.php(51): CertificateGenerator->saveNewCertAsFileWithKey('bug65538_001', '/tmp/compiletes...') 012+ #1 {main} 013+ thrown in /tmp/compiletest/install_data/subdir/php/ext/openssl/tests/CertificateGenerator.inc on line 135
1 (8%)
001+ Warning: file_get_contents(https://127.0.0.1:64321/): failed to open stream: Connection refused in /usr/src/software/PHP/php-7.4.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 8 001- string(12) "Hello World!" 002+ bool(false)
1 (8%)
001+ Warning: file_get_contents(https://127.0.0.1:64321/): failed to open stream: Connection refused in /usr/local/src/php-7.4.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 8 001- string(12) "Hello World!" 002+ bool(false)
1 (8%)
001+ Warning: file_get_contents(https://127.0.0.1:64321/): failed to open stream: Connection refused in /scratch/software/PHP/php-7.4.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 8 001- string(12) "Hello World!" 002+ bool(false)
1 (8%)
001+ Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: 001- string(12) "Hello World!" 002+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/src/php-7.4.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 8 003+ 004+ Warning: file_get_contents(): Failed to enable crypto in /usr/src/php-7.4.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 8 005+ 006+ Warning: file_get_contents(https://127.0.0.1:64321/): failed to open stream: operation failed in /usr/src/php-7.4.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 8 007+ bool(false)
1 (8%)
001+ Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: 001- string(12) "Hello World!" 002+ error:0407008A:rsa routines:RSA_padding_check_PKCS1_type_1:invalid padding 003+ error:04067072:rsa routines:RSA_EAY_PUBLIC_DECRYPT:padding check failed 004+ error:0D0C5006:asn1 encoding routines:ASN1_item_verify:EVP lib 005+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /var/www/html/repos/centos/php_7.X/php_7.4.X/php_for_apache_mysql/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 8 006+ 007+ Warning: file_get_contents(): Failed to enable crypto in /var/www/html/repos/centos/php_7.X/php_7.4.X/php_for_apache_mysql/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 8 008+ 009+ Warning: file_get_contents(https://127.0.0.1:64321/): failed to open stream: operation failed in /var/www/html/repos/centos/php_7.X/php_7.4.X/php_for_apache_mysql/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 8 010+ bool(false)
1 (8%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick' (tried: /opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick (Cannot open "/opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick"), /opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick.so (Shared object "libMagickWand-7.so.7" not found, required by "imagick.so")) in Unknown on line 0 002+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick' (tried: /opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick (Cannot open "/opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick"), /opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick.so (Shared object "libMagickWand-7.so.7" not found, required by "imagick.so")) in Unknown on line 0 003+ PHP Warning: Module 'zip' already loaded in Unknown on line 0
1 (8%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php7421/lib/php/extensions/no-debug-non-zts-20190902/imagick.so' (tried: /usr/local/php7421/lib/php/extensions/no-debug-non-zts-20190902/imagick.so (/usr/local/php7421/lib/php/extensions/no-debug-non-zts-20190902/imagick.so: cannot open shared object file: No such file or directory), /usr/local/php7421/lib/php/extensions/no-debug-non-zts-20190902//usr/local/php7421/lib/php/extensions/no-debug-non-zts-20190902/imagick.so.so (/usr/local/php7421/lib/php/extensions/no-debug-non-zts-20190902//usr/local/php7421/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 001- string(12) "Hello World!" 002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php7421/lib/php/extensions/no-debug-non-zts-20190902/imagick.so' (tried: /usr/local/php7421/lib/php/extensions/no-debug-non-zts-20190902/imagick.so (/usr/local/php7421/lib/php/extensions/no-debug-non-zts-20190902/imagick.so: cannot open shared object file: No such file or directory), /usr/local/php7421/lib/php/extensions/no-debug-non-zts-20190902//usr/local/php7421/lib/php/extensions/no-debug-non-zts-20190902/imagick.so.so (/usr/local/php7421/lib/php/extensions/no-debug-non-zts-20190902//usr/local/php7421/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 003+ 004+ Warning: file_get_contents(https://127.0.0.1:64321/): failed to open stream: Connection refused in /root/php74/php-7.4.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 8 005+ bool(false) 006+ PHP Notice: fwrite(): write of 1 bytes failed with errno=32 Broken pipe in /root/php74/php-7.4.21/ext/openssl/tests/ServerClientTestCase.inc on line 158