php-src/ext/openssl/tests
Jakub Zelenka c3c90abb17 Return false if tag is not supplied or cannot be retrieved in AEAD
It doesn't make sense to return just encoded string as it cannot be
used anyway (decryption without a tag will not work).
2016-08-14 19:34:03 +01:00
..
001.phpt fix test portability 2016-06-17 17:03:13 +02:00
bug25614.phpt
bug28382.phpt Fix bug #61412 ext\openssl\tests\bug28382.phpt fails 2012-03-27 16:07:59 +02:00
bug28382cert.txt - #28382, add support for x509 extensions 2006-07-30 17:03:13 +00:00
bug36732.phpt - ext/openssl/tests/bug36732.phpt more portable. 2011-09-14 10:55:46 +00:00
bug37820.phpt - MFH: 2007-05-28 13:55:30 +00:00
bug37820cert.pem - forgot the tests 2006-07-29 22:27:55 +00:00
bug37820key.pem - forgot the tests 2006-07-29 22:27:55 +00:00
bug38255.phpt improve test 2006-07-29 22:41:20 +00:00
bug38261.phpt MFH: fix accessing public key from x509 resource 2007-01-20 22:08:29 +00:00
bug39217.phpt fix test names 2007-05-30 15:40:26 +00:00
bug39217cert1.txt - add missing cert (thx Tony) 2007-05-30 15:16:31 +00:00
bug39217cert2.txt - add missing cert (thx Tony) 2007-05-30 15:16:31 +00:00
bug41033.pem - #41033, enable signing with DSA keys 2008-11-18 01:56:12 +00:00
bug41033.phpt Use SHA1 instead of DSS1 in test for bug #41033 2016-07-17 17:46:14 +01:00
bug41033pub.pem - #41033, enable signing with DSA keys 2008-11-18 01:56:12 +00:00
bug41353.phpt fix test names 2007-05-28 20:03:54 +00:00
bug46127.pem - MFH: #46127, php_openssl_tcp_sockop_accept forgets to set context on accepted stream 2008-11-16 23:14:12 +00:00
bug46127.phpt Raise timeout to 2s, reworded ssl timeout warning 2014-03-05 10:03:23 -07:00
bug47828.phpt Need EXPECTF here, of course 2012-02-05 09:52:41 +00:00
bug48182.phpt Deprecate CN_match in favor of peer_name in SSL contexts 2014-02-26 13:20:06 -07:00
bug54060.phpt Allow management of your own padding in openssl_encrypt/decrypt. 2011-05-20 18:56:13 +00:00
bug54061.phpt Allow management of your own padding in openssl_encrypt/decrypt. 2011-05-20 18:56:13 +00:00
bug54992-ca.pem - Fixed bug #54992: Stream not closed and error not returned when SSL CN_match 2011-06-08 00:23:02 +00:00
bug54992.pem - Fixed bug #54992: Stream not closed and error not returned when SSL CN_match 2011-06-08 00:23:02 +00:00
bug54992.phpt Raise timeout to 2s, reworded ssl timeout warning 2014-03-05 10:03:23 -07:00
bug55259.phpt Fix occasionally failing OpenSSL DH bug test 2016-06-16 20:09:17 +01:00
bug55646.phpt - Fixed test ext/openssl/tests/004.phpt. 2011-09-14 09:56:59 +00:00
bug60632.phpt yet two test fixes in openssl in 5.6 2016-02-16 08:28:10 +01:00
bug61124.phpt test for bug #61124 2012-02-25 13:27:57 +00:00
bug61930.phpt fix bug #61930: openssl corrupts ssl key resource when using openssl_get_publickey() 2013-02-17 13:28:42 -08:00
bug64802.pem Fix for php bug #64802 includes test case 2013-08-18 15:42:37 -07:00
bug64802.phpt Fix broken test 2015-03-04 22:37:07 -07:00
bug65538.phar Add tests for Bug #65538 2014-02-16 09:20:43 -07:00
bug65538_001.phpt Deprecate CN_match in favor of peer_name in SSL contexts 2014-02-26 13:20:06 -07:00
bug65538_002.phpt skip this test which fails without network 2014-06-20 06:45:16 +02:00
bug65538_003.phpt Deprecate CN_match in favor of peer_name in SSL contexts 2014-02-26 13:20:06 -07:00
bug65698.crt Added support for parsing ssl certificates using GeneralizedTime format. 2014-06-08 14:17:58 -07:00
bug65698.phpt fix test 2015-08-23 17:27:55 +02:00
bug65729.pem Fixed bug #68234 2014-10-15 21:12:13 +08:00
bug65729.phpt Raise timeout to 2s, reworded ssl timeout warning 2014-03-05 10:03:23 -07:00
bug66501.phpt Change sign method from ecdsa-with-SHA1 to SHA1 2016-07-17 17:46:14 +01:00
bug67403.phpt Fix bug #67403 (Add signatureType to openssl_x509_parse) 2015-03-05 10:09:06 -07:00
bug68265.pem Fixed bug #68265 (SAN match fails with trailing DNS dot) 2015-03-04 23:55:42 -07:00
bug68265.phpt Fixed bug #68265 (SAN match fails with trailing DNS dot) 2015-03-04 23:55:42 -07:00
bug68879.pem Fixed bug #68879 (IP Address fields in subjectAltNames not used) 2015-03-04 22:39:25 -07:00
bug68879.phpt Fixed bug #68879 (IP Address fields in subjectAltNames not used) 2015-03-04 22:39:25 -07:00
bug68912.phpt skip test when xml not available 2015-04-17 15:20:22 +02:00
bug68920.phpt Update test to run locally instead of remotely 2015-03-05 22:01:15 -07:00
bug69215-ca.pem Fix bug# 69215 (Crypto servers should send client CA list) 2015-03-10 18:13:10 -06:00
bug69215-client.pem Fix bug# 69215 (Crypto servers should send client CA list) 2015-03-10 18:13:10 -06:00
bug69215-server.pem Fix bug# 69215 (Crypto servers should send client CA list) 2015-03-10 18:13:10 -06:00
bug69215.phpt Fix bug# 69215 (Crypto servers should send client CA list) 2015-03-10 18:13:10 -06:00
bug70395.phpt Fix #70395: Missing ARG_INFO for openssl_seal() 2015-09-05 03:08:02 +02:00
bug70438.phpt Rename private.key to private_rsa_1024.key in new openssl_seal test 2016-01-31 18:13:37 +00:00
bug71475.phpt fix directory separator in test 2016-02-02 09:52:07 +01:00
bug72165.phpt Re-fix #72165 2016-05-06 09:30:41 +02:00
bug72336.phpt Fix bug #72336 (openssl_pkey_new does not fail for invalid DSA params) 2016-06-12 18:14:21 +01:00
capture_peer_cert_001.phpt Refactor + reorganize openssl files 2014-03-05 10:03:11 -07:00
cert.crt Fix uninitilized variables in openssl_pkcs7_encrypt() and openssl_pkcs7_sign() 2008-07-15 02:59:56 +00:00
cert.csr Rename and clean up OpenSSL tests 2016-02-03 16:20:27 +00:00
check_default_conf_path.phpt add test 2015-09-23 19:48:38 +02:00
cipher_tests.inc Fix and test OpenSSL CCM encryption 2016-01-04 14:07:19 +00:00
cve-2013-6420.crt Fix CVE-2013-6420 - memory corruption in openssl_x509_parse 2013-12-10 11:03:49 -08:00
cve-2013-6420.phpt Added support for parsing ssl certificates using GeneralizedTime format. 2014-06-08 14:17:58 -07:00
cve2013_4073.pem Fix CVE-2013-4073 - handling of certs with null bytes 2013-08-13 22:24:11 -07:00
cve2013_4073.phpt Fix CVE-2013-4073 - handling of certs with null bytes 2013-08-13 22:24:11 -07:00
ecc.phpt Revert "Skip new OpenSSL ECC tests on 32bit" 2016-06-29 11:43:31 +03:00
openssl.cnf Fixed Bug #66833 Default digest algo is still MD5 2014-03-14 09:50:15 +01:00
openssl_csr_export_bacis.phpt Rename and clean up OpenSSL tests 2016-02-03 16:20:27 +00:00
openssl_csr_get_subject_basic.phpt Rename and clean up OpenSSL tests 2016-02-03 16:20:27 +00:00
openssl_csr_new_basic.phpt improve test 2016-02-16 08:05:16 +01:00
openssl_csr_sign_basic.phpt Merge branch 'PHP-5.6' into PHP-7.0 2016-02-03 16:22:39 +00:00
openssl_decrypt_basic.phpt Rename and clean up OpenSSL tests 2016-02-03 16:20:27 +00:00
openssl_decrypt_ccm.phpt Use OPENSSL_RAW_DATA in raw data decryption tests 2016-07-22 18:30:30 +02:00
openssl_decrypt_error.phpt Fix test: Use valid base64 even for invalid OpenSSL data 2016-07-22 18:03:55 +02:00
openssl_decrypt_gcm.phpt Use OPENSSL_RAW_DATA in raw data decryption tests 2016-07-22 18:30:30 +02:00
openssl_digest_basic.phpt New tests 2008-07-18 23:52:01 +00:00
openssl_encrypt_ccm.phpt Fix and test OpenSSL CCM encryption 2016-01-04 14:07:19 +00:00
openssl_encrypt_crash.phpt Add tests for OpenSSL crash. 2011-12-19 03:09:05 +00:00
openssl_encrypt_error.phpt Warn about passing tag for non AEAD modes 2016-01-09 17:25:53 +00:00
openssl_encrypt_gcm.phpt Return false if tag is not supplied or cannot be retrieved in AEAD 2016-08-14 19:34:03 +01:00
openssl_error_string_basic.phpt Remove expected openssl errors that are not needed anymore 2016-06-19 16:46:27 +01:00
openssl_get_cipher_methods.phpt Use standard title for new openssl tests 2015-10-29 19:11:57 +00:00
openssl_get_md_methods.phpt Use standard title for new openssl tests 2015-10-29 19:11:57 +00:00
openssl_open_basic.phpt Rename and clean up OpenSSL tests 2016-02-03 16:20:27 +00:00
openssl_pbkdf2_basic.phpt Rename and clean up OpenSSL tests 2016-02-03 16:20:27 +00:00
openssl_peer_fingerprint_basic.phpt Rename and clean up OpenSSL tests 2016-02-03 16:20:27 +00:00
openssl_pkcs7_decrypt_basic.phpt fix test portability 2016-06-17 17:03:13 +02:00
openssl_pkcs7_decrypt_error.phpt Merge branch 'PHP-5.6' into PHP-7.0 2016-02-03 16:22:39 +00:00
openssl_pkcs7_encrypt_basic.phpt fix test portability 2016-06-17 17:03:13 +02:00
openssl_pkcs7_sign_basic.phpt fix test portability 2016-06-17 17:03:13 +02:00
openssl_pkey_export_basic.phpt Adds initial support to generate and work with ECC public key pair 2016-06-26 16:15:25 +01:00
openssl_pkey_get_details_basic.phpt Adds initial support to generate and work with ECC public key pair 2016-06-26 16:15:25 +01:00
openssl_pkey_new_basic.phpt Add new test for openssl_pkey_new 2016-06-05 17:27:47 +01:00
openssl_pkey_new_error.phpt Add new test for openssl_pkey_new 2016-06-05 17:27:47 +01:00
openssl_private_decrypt_basic.phpt Rename and clean up OpenSSL tests 2016-02-03 16:20:27 +00:00
openssl_private_encrypt_basic.phpt Rename and clean up OpenSSL tests 2016-02-03 16:20:27 +00:00
openssl_public_decrypt_basic.phpt Rename and clean up OpenSSL tests 2016-02-03 16:20:27 +00:00
openssl_public_encrypt_basic.phpt Rename and clean up OpenSSL tests 2016-02-03 16:20:27 +00:00
openssl_random_pseudo_bytes_basic.phpt Rename and clean up OpenSSL tests 2016-02-03 16:20:27 +00:00
openssl_seal_basic.phpt Rename and clean up OpenSSL tests 2016-02-03 16:20:27 +00:00
openssl_sign_basic.phpt Rename and clean up OpenSSL tests 2016-02-03 16:20:27 +00:00
openssl_spki_export_basic.phpt Rewrite OpenSSL SPKI tests to speed them up 2016-01-31 14:28:13 +00:00
openssl_spki_export_challenge_basic.phpt Rewrite OpenSSL SPKI tests to speed them up 2016-01-31 14:28:13 +00:00
openssl_spki_new_basic.phpt Rewrite OpenSSL SPKI tests to speed them up 2016-01-31 14:28:13 +00:00
openssl_spki_verify_basic.phpt Rewrite OpenSSL SPKI tests to speed them up 2016-01-31 14:28:13 +00:00
openssl_verify_basic.phpt Rename and clean up OpenSSL tests 2016-02-03 16:20:27 +00:00
openssl_x509_check_private_key_basic.phpt Split and clean up OpenSSL X509 tests 2016-02-04 16:51:36 +00:00
openssl_x509_checkpurpose.phpt Update openssl_x509_checkpurpose.phpt 2015-09-29 10:41:24 +02:00
openssl_x509_export_basic.phpt Merge branch 'PHP-5.6' into PHP-7.0 2016-02-04 16:54:44 +00:00
openssl_x509_export_to_file_basic.phpt Split and clean up OpenSSL X509 tests 2016-02-04 16:51:36 +00:00
openssl_x509_fingerprint_basic.phpt Split and clean up OpenSSL X509 tests 2016-02-04 16:51:36 +00:00
openssl_x509_free_basic.phpt Split and clean up OpenSSL X509 tests 2016-02-04 16:51:36 +00:00
openssl_x509_parse_basic.phpt Split and clean up OpenSSL X509 tests 2016-02-04 16:51:36 +00:00
openssl_x509_read_basic.phpt Split and clean up OpenSSL X509 tests 2016-02-04 16:51:36 +00:00
p12_with_extra_certs.p12 Fixed #69882: OpenSSL error "key values mismatch" after openssl_pkcs12_read with extra certs 2015-06-26 05:33:28 +08:00
peer_verification.phpt Deprecate CN_match in favor of peer_name in SSL contexts 2014-02-26 13:20:06 -07:00
private_ec.key Adds test cases for openssl EC improvements 2014-11-30 18:17:48 -08:00
private_rsa_1024.key Rename private.key to private_rsa_1024.key 2016-01-31 13:54:16 +00:00
private_rsa_2048.key Add private RSA keys with 2048 and 4096 bit long modulus 2016-01-31 13:57:00 +00:00
private_rsa_2048_pass_php.key Add test for openssl_error_string 2016-06-05 17:23:05 +01:00
private_rsa_4096.key Add private RSA keys with 2048 and 4096 bit long modulus 2016-01-31 13:57:00 +00:00
public.key Fix error message 2008-07-15 03:20:44 +00:00
public_ec.key Adds test cases for openssl EC improvements 2014-11-30 18:17:48 -08:00
san-ca.pem Added SAN matching during peer verification 2013-10-08 12:37:44 -04:00
san-cert.pem Added SAN matching during peer verification 2013-10-08 12:37:44 -04:00
san_peer_matching.phpt Deprecate CN_match in favor of peer_name in SSL contexts 2014-02-26 13:20:06 -07:00
ServerClientTestCase.inc restored that test part in ext/openssl to enable notify/wait 2014-02-26 13:37:20 +01:00
session_meta_capture.phpt Remove SSLv3 test dependencies 2015-05-05 10:40:55 +02:00
sni_server.phpt Add encrypted server SNI support 2014-03-05 10:03:33 -07:00
sni_server_ca.pem Add encrypted server SNI support 2014-03-05 10:03:33 -07:00
sni_server_domain1.pem Add encrypted server SNI support 2014-03-05 10:03:33 -07:00
sni_server_domain2.pem Add encrypted server SNI support 2014-03-05 10:03:33 -07:00
sni_server_domain3.pem Add encrypted server SNI support 2014-03-05 10:03:33 -07:00
stream_crypto_flags_001.phpt Remove SSLv3 test dependencies 2015-05-05 10:40:55 +02:00
stream_crypto_flags_002.phpt Raise timeout to 2s, reworded ssl timeout warning 2014-03-05 10:03:23 -07:00
stream_crypto_flags_003.phpt Remove SSLv3 test dependencies 2015-05-05 10:40:55 +02:00
stream_crypto_flags_004.phpt Deprecate CN_match in favor of peer_name in SSL contexts 2014-02-26 13:20:06 -07:00
stream_server_reneg_limit.phpt disable ext/openssl/tests/stream_server_reneg_limit.phpt for windows 2014-11-28 12:24:32 +01:00
stream_verify_peer_name_001.phpt Deprecate CN_match in favor of peer_name in SSL contexts 2014-02-26 13:20:06 -07:00
stream_verify_peer_name_002.phpt Raise timeout to 2s, reworded ssl timeout warning 2014-03-05 10:03:23 -07:00
stream_verify_peer_name_003.phpt Deprecate CN_match in favor of peer_name in SSL contexts 2014-02-26 13:20:06 -07:00
streams_crypto_method.pem previous revert killed that file 2013-10-17 15:32:18 +02:00
streams_crypto_method.phpt Remove SSLv3 test dependencies 2015-05-05 10:40:55 +02:00
tlsv1.0_wrapper.phpt Refactor + reorganize openssl files 2014-03-05 10:03:11 -07:00
tlsv1.1_wrapper.phpt Refactor + reorganize openssl files 2014-03-05 10:03:11 -07:00
tlsv1.2_wrapper.phpt Refactor + reorganize openssl files 2014-03-05 10:03:11 -07:00