Test: /ext/openssl/tests/stream_security_level.phpt - Version 7.4.11    

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

Count Diff
1 (20%)
002+ error:0A000086:SSL routines::certificate verify failed in /home/madao/Projects/php-7.4.11/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 002- error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in %s : eval()'d code on line %d
1 (20%)
002+ error:0A000086:SSL routines::certificate verify failed in /home/dell/Downloads/php-7.4.11/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 002- error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in %s : eval()'d code on line %d
1 (20%)
001+ Warning: openssl_x509_export_to_file(): cannot get cert from parameter 1 in /data/php-7.4.11/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 /data/php-7.4.11/ext/openssl/tests/CertificateGenerator.inc on line 128 004+ 005+ Warning: openssl_csr_new(): Unable to generate a private key in /data/php-7.4.11/ext/openssl/tests/CertificateGenerator.inc on line 128 006+ 007+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in /data/php-7.4.11/ext/openssl/tests/CertificateGenerator.inc on line 132 001- Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: 002- error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in %s : eval()'d code on line %d 004- Warning: stream_socket_client(): Failed to enable crypto in %s : eval()'d code on line %d 005- 006- Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64322 (Unknown error) in %s : eval()'d code on line %d 007- bool(false) 009+ Fatal error: Uncaught Exception: Failed to create certificate in /data/php-7.4.11/ext/openssl/tests/CertificateGenerator.inc:135 010+ Stack trace: 011+ #0 %s/stream_security_level.php(48): CertificateGenerator->saveNewCertAsFileWithKey('stream_security...', '/data/php-7.4.1...', 1024) 012+ #1 {main} 013+ thrown in /data/php-7.4.11/ext/openssl/tests/CertificateGenerator.inc on line 135
1 (20%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: ./openssl (./openssl: cannot open shared object file: No such file or directory), ./openssl.so (./openssl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 001- Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: 002- error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in %s : eval()'d code on line %d 003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64322 (Connection refused) in /home/dell/Downloads/php-7.4.11/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 004- Warning: stream_socket_client(): Failed to enable crypto in %s : eval()'d code on line %d 005- 006- Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64322 (Unknown error) in %s : eval()'d code on line %d 005+ PHP Notice: fwrite(): write of 1 bytes failed with errno=32 Broken pipe in /home/dell/Downloads/php-7.4.11/ext/openssl/tests/ServerClientTestCase.inc on line 158
1 (20%)
001+ PHP Warning: Module 'curl' already loaded in Unknown on line 0 002+ PHP Warning: Module 'gd' already loaded in Unknown on line 0 003+ PHP Warning: Module 'mbstring' already loaded in Unknown on line 0 004+ PHP Warning: Module 'mysqli' already loaded in Unknown on line 0 005+ PHP Warning: Module 'openssl' already loaded in Unknown on line 0 006+ PHP Warning: Module 'soap' already loaded in Unknown on line 0 007+ PHP Warning: Module 'xmlrpc' already loaded in Unknown on line 0 008+ PHP Warning: Module 'zip' already loaded in Unknown on line 0 009+ PHP Warning: Module 'zlib' already loaded in Unknown on line 0 010+