Test: /ext/openssl/tests/ecc.phpt - Version 7.4.26    

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

Count Diff
2 (50%)
016+ 017+ Warning: openssl_csr_new(): Error signing request in %s/ecc.php on line 49 018+ bool(true) 019+ 020+ Warning: openssl_pkey_get_details() expects parameter 1 to be resource, bool given in %s/ecc.php on line 52 021+ bool(false) 022+ 023+ Notice: Trying to access array offset on value of type null in %s/ecc.php on line 55 024+ 025+ Warning: array_diff(): Expected parameter 2 to be an array, null given in %s/ecc.php on line 55 026+ NULL 027+ 028+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in %s/ecc.php on line 57 029+ bool(false) 030+ Testing openssl_x509_check_private_key 031+ bool(false) 016- resource(%d) of type (OpenSSL X.509 CSR) 018- array(1) { 019- ["d"]=> 020- string(%d) "%a" 021- } 022- resource(%d) of type (OpenSSL X.509) 023- Testing openssl_x509_check_private_key 025- bool(false) 026- Testing openssl_get_curve_names 027- bool(true) 033+ Testing openssl_get_curve_names
2 (50%)
002+ bool(false) 003+ bool(false) 004+ 005+ Warning: openssl_pkey_get_details() expects parameter 1 to be resource, bool given in %s/ecc.php on line 18 006+ 007+ Notice: Trying to access array offset on value of type null in %s/ecc.php on line 19 008+ NULL 009+ 010+ Notice: Trying to access array offset on value of type null in %s/ecc.php on line 20 011+ int(0) 002- resource(%d) of type (OpenSSL key) 004- Warning: openssl_pkey_new(): Unknown elliptic curve (short) name invalid_cuve_name in %s on line %d 006- int(384) 007- int(215) 008- string(9) "secp384r1" 010- resource(%d) of type (OpenSSL key) 011- bool(true) 013+ Notice: Trying to access array offset on value of type null in %s/ecc.php on line 21 014+ 015+ Notice: Trying to access array offset on value of type null in %s/ecc.php on line 21 016+ NULL 017+ 018+ Notice: Trying to access array offset on value of type null in %s/ecc.php on line 22 019+ bool(false) 014- resource(%d) of type (OpenSSL key) 016- resource(%d) of type (OpenSSL X.509 CSR) 018- array(1) { 019- ["d"]=> 020- string(%d) "%a" 021- } 022- resource(%d) of type (OpenSSL X.509) 021+ 022+ Warning: openssl_pkey_get_details() expects parameter 1 to be resource, bool given in %s/ecc.php on line 27 024- bool(true) 026+ NULL 028+ bool(false) 029+ 030+ Warning: openssl_pkey_get_details() expects parameter 1 to be resource, bool given in %s/ecc.php on line 52 032+ 033+ Notice: Trying to access array offset on value of type null in %s/ecc.php on line 55 034+ 035+ Notice: Trying to access array offset on value of type null in %s/ecc.php on line 55 036+ 037+ Warning: array_diff(): Expected parameter 1 to be an array, null given in %s/ecc.php on line 55 038+ NULL 039+ 040+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in %s/ecc.php on line 57 041+ bool(false) 043+ bool(false)