Test: /ext/openssl/tests/ecc.phpt - Version 7.4.12RC1    

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
002+ 003+ Warning: openssl_pkey_new(): private key length is too short; it needs to be at least 384 bits, not 0 in %s/ecc.php on line 7 004+ bool(false) 002- resource(%d) of type (OpenSSL key) 006- int(384) 007- int(215) 008- string(9) "secp384r1" 009- bool(true) 010- resource(%d) of type (OpenSSL key) 011- bool(true) 008+ 009+ Warning: openssl_pkey_get_details() expects parameter 1 to be resource, bool given in %s/ecc.php on line 18 010+ 011+ Notice: Trying to access array offset on value of type null in %s/ecc.php on line 19 012+ NULL 013+ 014+ Notice: Trying to access array offset on value of type null in %s/ecc.php on line 20 015+ int(0) 016+ 017+ Notice: Trying to access array offset on value of type null in %s/ecc.php on line 21 018+ 019+ Notice: Trying to access array offset on value of type null in %s/ecc.php on line 21 020+ NULL 021+ 022+ Notice: Trying to access array offset on value of type null in %s/ecc.php on line 22 023+ bool(false) 024+ 025+ Warning: openssl_pkey_new(): private key length is too short; it needs to be at least 384 bits, not 0 in %s/ecc.php on line 24 026+ bool(false) 027+ 028+ Warning: openssl_pkey_get_details() expects parameter 1 to be resource, bool given in %s/ecc.php on line 27 029+ bool(true) 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) 024- bool(true) 032+ 033+ Warning: openssl_csr_new(): private key length is too short; it needs to be at least 384 bits, not 0 in %s/ecc.php on line 43 034+ 035+ Warning: openssl_csr_new(): Unable to generate a private key in %s/ecc.php on line 43 036+ NULL 038+ 039+ Warning: openssl_csr_new(): private key length is too short; it needs to be at least 384 bits, not 0 in %s/ecc.php on line 49 040+ 041+ Warning: openssl_csr_new(): Unable to generate a private key in %s/ecc.php on line 49 042+ bool(false) 043+ 044+ Warning: openssl_pkey_get_details() expects parameter 1 to be resource, bool given in %s/ecc.php on line 52 046+ 047+ Notice: Trying to access array offset on value of type null in %s/ecc.php on line 55 048+ 049+ Notice: Trying to access array offset on value of type null in %s/ecc.php on line 55 050+ 051+ Warning: array_diff(): Expected parameter 1 to be an array, null given in %s/ecc.php on line 55 052+ NULL 053+ 054+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in %s/ecc.php on line 57 055+ bool(false) 057+ bool(false) 058+ 059+ Warning: openssl_pkey_new(): private key length is too short; it needs to be at least 384 bits, not 0 in %s/ecc.php on line 63