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

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

Count Diff
4 (36%)
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 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+ 001- bool(false) 002- bool(false) 003- resource(%d) of type (stream) 004- resource(%d) of type (stream) 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/peer_verification.php(57): CertificateGenerator->saveNewCertAsFileWithKey('peer_verificati...', '/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 (9%)
004+ 004- resource(%d) of type (stream) 005+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: 006+ 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 28 007+ 008+ Warning: stream_socket_client(): Failed to enable crypto in /usr/src/php-7.4.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 28 009+ 010+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/src/php-7.4.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 28 011+ bool(false)
1 (9%)
003+ 004+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/src/software/PHP/php-7.4.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 21 003- resource(%d) of type (stream) 004- resource(%d) of type (stream) 005+ bool(false) 006+ 007+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/src/software/PHP/php-7.4.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 28 008+ bool(false)
1 (9%)
003+ 004+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-7.4.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 21 003- resource(%d) of type (stream) 004- resource(%d) of type (stream) 005+ bool(false) 006+ 007+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-7.4.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 28 008+ bool(false)
1 (9%)
003+ 004+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /scratch/software/PHP/php-7.4.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 21 003- resource(%d) of type (stream) 004- resource(%d) of type (stream) 005+ bool(false) 006+ 007+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /scratch/software/PHP/php-7.4.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 28 008+ bool(false)
1 (9%)
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 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+ 001- bool(false) 002- bool(false) 003- resource(%d) of type (stream) 004- resource(%d) of type (stream) 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/peer_verification.php(57): CertificateGenerator->saveNewCertAsFileWithKey('peer_verificati...', '/tmp/compiletes...') 012+ #1 {main} 013+ thrown in /tmp/compiletest/install_data/subdir/php/ext/openssl/tests/CertificateGenerator.inc on line 135
1 (9%)
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 (9%)
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 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- resource(%d) of type (stream) 004- resource(%d) of type (stream) 005+ 006+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/php74/php-7.4.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 21 007+ bool(false) 008+ 009+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/php74/php-7.4.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 28 010+ bool(false) 011+ 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