Test: /ext/openssl/tests/openssl_error_string_basic.phpt - Version 5.6.40    

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

Count Diff
185 (87%)
013+ openssl_private_(en|de)crypt padding: no error code 0407006A
013- openssl_private_(en|de)crypt padding: ok
14 (7%)
007+ openssl_pkey_export_to_file pem: no error code 0906D06C
007- openssl_pkey_export_to_file pem: ok
010+ openssl_pkey_get_public: no error code 0906D06C
010- openssl_pkey_get_public: ok
013+ openssl_private_(en|de)crypt padding: no error code 0906D06C
013- openssl_private_(en|de)crypt padding: ok
016+ openssl_x509_export_to_file pem: no error code 0906D06C
016- openssl_x509_export_to_file pem: ok
020+ openssl_csr_get_subject open: no error code 0906D06C
021+ openssl_csr_get_subjec pem: no error code 0906D06C
020- openssl_csr_get_subject open: ok
021- openssl_csr_get_subjec pem: ok
8 (4%)
001+ Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended in %s/openssl_error_string_basic.php on line 58
004+
005+ Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended in %s/openssl_error_string_basic.php on line 65
006+
007+ Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended in %s/openssl_error_string_basic.php on line 65
008+
009+ Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended in %s/openssl_error_string_basic.php on line 65
010+
011+ Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended in %s/openssl_error_string_basic.php on line 65
012+
013+ Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended in %s/openssl_error_string_basic.php on line 65
014+
015+ Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended in %s/openssl_error_string_basic.php on line 65
016+
017+ Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended in %s/openssl_error_string_basic.php on line 65
018+
019+ Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended in %s/openssl_error_string_basic.php on line 65
020+
021+ Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended in %s/openssl_error_string_basic.php on line 65
022+
023+ Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended in %s/openssl_error_string_basic.php on line 65
024+
025+ Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended in %s/openssl_error_string_basic.php on line 65
026+
027+ Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended in %s/openssl_error_string_basic.php on line 65
028+
029+ Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended in %s/openssl_error_string_basic.php on line 65
030+
031+ Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended in %s/openssl_error_string_basic.php on line 65
032+
033+ Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended in %s/openssl_error_string_basic.php on line 65
034+
035+ Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended in %s/openssl_error_string_basic.php on line 65
036+
037+ Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended in %s/openssl_error_string_basic.php on line 65
038+
039+ Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended in %s/openssl_error_string_basic.php on line 65
040+
041+ Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended in %s/openssl_error_string_basic.php on line 65
042+
043+ Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended in %s/openssl_error_string_basic.php on line 65
2 (1%)
007+ openssl_pkey_export_to_file pem: no error code 0906D06C
008+ openssl_pkey_export_to_file write: no error code 2006D002
009+ openssl_pkey_export_to_file write: no error code 09072007
007- openssl_pkey_export_to_file pem: ok
008- openssl_pkey_export_to_file write: ok
010- openssl_pkey_get_public: ok
011+ openssl_pkey_get_public: no error code 0906D06C
013- openssl_private_(en|de)crypt padding: ok
014+ openssl_private_(en|de)crypt padding: no error code 0906D06C
016- openssl_x509_export_to_file pem: ok
017+ openssl_x509_export_to_file pem: no error code 0906D06C
020- openssl_csr_get_subject open: ok
021- openssl_csr_get_subjec pem: ok
021+ openssl_csr_get_subject open: no error code 0906D06C
022+ openssl_csr_get_subjec pem: no error code 0906D06C
1 (0%)
001+ string(75) "error:06FFF082:digital envelope routines:CRYPTO_internal:invalid key length"
001- string(89) "error:0607A082:digital envelope routines:EVP_CIPHER_CTX_set_key_length:invalid key length"
006+ openssl_pkey_export_to_file opening: no error code 02001002
007+ openssl_pkey_export_to_file opening: no error code 2006D080
008+ openssl_pkey_export_to_file pem: no error code 0906D06C
009+ openssl_pkey_export_to_file write: no error code 2006D002
010+ openssl_pkey_export_to_file write: no error code 09072007
011+ openssl_pkey_export: no error code 06065064
012+ openssl_pkey_export: no error code 0906A065
013+ openssl_pkey_get_public: no error code 0906D06C
014+ openssl_private_encrypt: no error code 04066076
015+ openssl_private_decrypt: no error code 04065072
016+ openssl_private_(en|de)crypt padding: no error code 0906D06C
017+ openssl_private_(en|de)crypt padding: no error code 04068076
018+ openssl_private_(en|de)crypt padding: no error code 0407006A
019+ openssl_private_(en|de)crypt padding: no error code 04067072
006- openssl_pkey_export_to_file opening: ok
007- openssl_pkey_export_to_file pem: ok
008- openssl_pkey_export_to_file write: ok
009- openssl_pkey_export: ok
010- openssl_pkey_get_public: ok
011- openssl_private_encrypt: ok
012- openssl_private_decrypt: ok
013- openssl_private_(en|de)crypt padding: ok
015- openssl_x509_export_to_file open: ok
016- openssl_x509_export_to_file pem: ok
017- openssl_x509_export_to_file write: ok
018- openssl_x509_checkpurpose purpose: ok
020- openssl_csr_get_subject open: ok
021- openssl_csr_get_subjec pem: ok
021+ openssl_x509_export_to_file open: no error code 02001002
022+ openssl_x509_export_to_file pem: no error code 0906D06C
023+ openssl_x509_export_to_file write: no error code 2006D002
024+ openssl_x509_checkpurpose purpose: no error code 0B086079
026+ openssl_csr_get_subject open: no error code 02001002
027+ openssl_csr_get_subject open: no error code 2006D080
028+ openssl_csr_get_subject open: no error code 20068079
029+ openssl_csr_get_subject open: no error code 0906D06C
030+ openssl_csr_get_subjec pem: no error code 0906D06C
1 (0%)
001+ string(80) "error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library"
002+ string(78) "error:25070067:DSO support routines:DSO_load:could not load the shared library"
003+ The new encoding error doesn't match the expected one
004+ The new encoding error doesn't match the expected one
005+ The new encoding error doesn't match the expected one
006+ The new encoding error doesn't match the expected one
007+ The new encoding error doesn't match the expected one
008+ The new encoding error doesn't match the expected one
009+ The new encoding error doesn't match the expected one
010+ The new encoding error doesn't match the expected one
011+ The new encoding error doesn't match the expected one
012+ The new encoding error doesn't match the expected one
013+ The new encoding error doesn't match the expected one
014+ The new encoding error doesn't match the expected one
015+ The new encoding error doesn't match the expected one
016+ The new encoding error doesn't match the expected one
017+ The new encoding error doesn't match the expected one
018+ int(15)
019+
020+ PKEY errors
021+ openssl_pkey_export_to_file opening: ok
001- string(89) "error:0607A082:digital envelope routines:EVP_CIPHER_CTX_set_key_length:invalid key length"
002- bool(false)
003- int(15)
004-
005- PKEY errors
006- openssl_pkey_export_to_file opening: ok
007- openssl_pkey_export_to_file pem: ok
008- openssl_pkey_export_to_file write: ok
009- openssl_pkey_export: ok
010- openssl_pkey_get_public: ok
011- openssl_private_encrypt: ok
012- openssl_private_decrypt: ok
013- openssl_private_(en|de)crypt padding: ok
014- X509 errors
015- openssl_x509_export_to_file open: ok
016- openssl_x509_export_to_file pem: ok
017- openssl_x509_export_to_file write: ok
018- openssl_x509_checkpurpose purpose: ok
019- CSR errors
020- openssl_csr_get_subject open: ok
021- openssl_csr_get_subjec pem: ok
022+ openssl_pkey_export_to_file pem: ok
023+ openssl_pkey_export_to_file write: ok
024+ openssl_pkey_export: ok
025+ openssl_pkey_get_public: ok
026+ openssl_private_encrypt: ok
027+ openssl_private_decrypt: ok
028+ openssl_private_(en|de)crypt padding: ok
029+ X509 errors
030+ openssl_x509_export_to_file open: ok
031+ openssl_x509_export_to_file pem: ok
032+ openssl_x509_export_to_file write: ok
033+ openssl_x509_checkpurpose purpose: ok
034+ CSR errors
035+ openssl_csr_get_subject open: ok
036+ openssl_csr_get_subjec pem: ok
1 (0%)
001- string(89) "error:0607A082:digital envelope routines:EVP_CIPHER_CTX_set_key_length:invalid key length"
002- bool(false)
003- int(15)
005- PKEY errors
006- openssl_pkey_export_to_file opening: ok
007- openssl_pkey_export_to_file pem: ok
008- openssl_pkey_export_to_file write: ok
009- openssl_pkey_export: ok
010- openssl_pkey_get_public: ok
011- openssl_private_encrypt: ok
012- openssl_private_decrypt: ok
013- openssl_private_(en|de)crypt padding: ok
014- X509 errors
015- openssl_x509_export_to_file open: ok
016- openssl_x509_export_to_file pem: ok
017- openssl_x509_export_to_file write: ok
018- openssl_x509_checkpurpose purpose: ok
019- CSR errors
020- openssl_csr_get_subject open: ok
021- openssl_csr_get_subjec pem: ok
1 (0%)
008+ openssl_pkey_export_to_file write: no error code 2006D002
009+ openssl_pkey_export_to_file write: no error code 09072007
008- openssl_pkey_export_to_file write: ok
013- openssl_private_(en|de)crypt padding: ok
014+ openssl_private_(en|de)crypt padding: no error code 0407006A