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

There is 1 diff reported by users for this test.

Count Diff
2 (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)
008+
009+ Warning: openssl_pkey_get_details() expects parameter 1 to be resource, bool given in %s/ecc.php on line 18
010+ NULL
011+ int(0)
012+ NULL
013+ bool(false)
014+
015+ 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
016+ bool(false)
017+
018+ Warning: openssl_pkey_get_details() expects parameter 1 to be resource, bool given in %s/ecc.php on line 27
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)
023- Testing openssl_x509_check_private_key
022+
023+ 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
024+
025+ Warning: openssl_csr_new(): Unable to generate a private key in %s/ecc.php on line 43
026+ NULL
025- bool(false)
026- Testing openssl_get_curve_names
027- bool(true)
028+
029+ 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
030+
031+ Warning: openssl_csr_new(): Unable to generate a private key in %s/ecc.php on line 49
032+ bool(false)
033+
034+ Warning: openssl_pkey_get_details() expects parameter 1 to be resource, bool given in %s/ecc.php on line 52
035+ bool(false)
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)
042+ Testing openssl_x509_check_private_key
043+ bool(false)
044+
045+ 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
047+ Testing openssl_get_curve_names