php-src/ext/openssl/tests
Daniel Lowrey c126c16479 Capture peer cert even if verify fails
Previously the "capture_peer_cert" SSL context option only
captured the peer's certificate if the verification routine
succeeded.

By also capturing the on verify failure applications have the
ability to parse the cert and ask users whether they wish to
proceed given the information presented by the peer.
2014-03-02 10:35:52 -07:00
..
001.phpt
002.phpt fix test 2008-07-15 09:14:28 +00:00
003.phpt
004.phpt Merge branch 'PHP-5.3' into PHP-5.4 2012-03-28 17:13:16 +02:00
005.phpt
005_crt.txt
006.phpt
007.phpt New tests 2008-07-18 23:52:01 +00:00
008.phpt New tests 2008-07-18 23:52:01 +00:00
009.phpt New tests 2008-07-18 23:52:01 +00:00
011.phpt Allow management of your own padding in openssl_encrypt/decrypt. 2011-05-20 18:56:13 +00:00
012.phpt Fix error message 2008-07-15 03:20:44 +00:00
013.phpt New tests 2008-07-18 23:52:01 +00:00
014.phpt New tests 2008-07-18 23:52:01 +00:00
015.phpt New tests 2008-07-18 23:52:01 +00:00
016.phpt New tests 2008-07-18 23:52:01 +00:00
017.phpt New tests 2008-07-18 23:52:01 +00:00
018.phpt New tests 2008-07-18 23:52:01 +00:00
019.phpt New tests 2008-07-18 23:52:01 +00:00
021.phpt Fix bug #61404 ext\openssl\tests\021.phpt fails 2012-03-28 16:15:36 +02:00
022.phpt Fix bug #61405 ext\openssl\tests\022.phpt fails 2012-03-27 16:07:59 +02:00
023.phpt Fix uninitilized variables in openssl_pkcs7_encrypt() and openssl_pkcs7_sign() 2008-07-15 02:59:56 +00:00
024.phpt New tests 2008-07-18 23:52:01 +00:00
025.phpt Fix uninitilized variables in openssl_pkcs7_encrypt() and openssl_pkcs7_sign() 2008-07-15 02:59:56 +00:00
bug25614.phpt
bug28382.phpt Fix bug #61412 ext\openssl\tests\bug28382.phpt fails 2012-03-27 16:07:59 +02:00
bug28382cert.txt
bug36732.phpt - ext/openssl/tests/bug36732.phpt more portable. 2011-09-14 10:55:46 +00:00
bug37820.phpt
bug37820cert.pem
bug37820key.pem
bug38255.phpt
bug38261.phpt
bug39217.phpt
bug39217cert1.txt
bug39217cert2.txt
bug41033.pem - #41033, enable signing with DSA keys 2008-11-18 01:56:12 +00:00
bug41033.phpt - #41033, enable signing with DSA keys 2008-11-18 01:56:12 +00:00
bug41033pub.pem - #41033, enable signing with DSA keys 2008-11-18 01:56:12 +00:00
bug41353.phpt
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 Deprecate CN_match in favor of peer_name in SSL contexts 2014-02-26 13:20:06 -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 Deprecate CN_match in favor of peer_name in SSL contexts 2014-02-26 13:20:06 -07:00
bug55646.phpt - Fixed test ext/openssl/tests/004.phpt. 2011-09-14 09:56:59 +00: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 Skip failing tests when EC unavailable (RHEL) 2014-02-19 03:57:37 -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 Update openssl tests with new server/client test harness 2014-02-25 16:51:50 +00:00
bug65538_003.phpt Deprecate CN_match in favor of peer_name in SSL contexts 2014-02-26 13:20:06 -07:00
bug65729.pem added better wildcard matching for CN 2013-09-21 16:45:20 +08:00
bug65729.phpt Deprecate CN_match in favor of peer_name in SSL contexts 2014-02-26 13:20:06 -07:00
bug66501.phpt Improve OpenSSL compile flag compatibility, minor updates 2014-02-20 17:23:34 -07:00
capture_peer_cert_001.phpt Capture peer cert even if verify fails 2014-03-02 10:35:52 -07:00
cert.crt Fix uninitilized variables in openssl_pkcs7_encrypt() and openssl_pkcs7_sign() 2008-07-15 02:59:56 +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 fix dir separator in cve-2013-6420 test 2013-12-11 13:31:29 +01: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
openssl.cnf Merge branch 'pull-request/341' 2013-06-10 14:30:59 -07:00
openssl_decrypt_error.phpt Allow management of your own padding in openssl_encrypt/decrypt. 2011-05-20 18:56:13 +00:00
openssl_digest_basic.phpt New tests 2008-07-18 23:52:01 +00:00
openssl_encrypt_crash.phpt Add tests for OpenSSL crash. 2011-12-19 03:09:05 +00:00
openssl_encrypt_error.phpt New tests 2008-07-18 23:52:01 +00:00
openssl_pbkdf2.phpt Revert "Rename openssl_pkcs5_pbkdf2_hmac() to something that doesn't sound like a spell." 2012-06-12 11:21:54 -07:00
openssl_peer_fingerprint.phpt Deprecate CN_match in favor of peer_name in SSL contexts 2014-02-26 13:20:06 -07:00
openssl_random_pseudo_bytes.phpt Missed test for previous commit 2008-11-17 21:54:47 +00:00
openssl_spki_export.phpt Address feature request #38917 for native SPKAC (HTML5 keygen element) support 2013-05-06 16:36:06 -06:00
openssl_spki_export_challenge.phpt Address feature request #38917 for native SPKAC (HTML5 keygen element) support 2013-05-06 16:36:06 -06:00
openssl_spki_new.phpt Address feature request #38917 for native SPKAC (HTML5 keygen element) support 2013-05-06 16:36:06 -06:00
openssl_spki_verify.phpt Address feature request #38917 for native SPKAC (HTML5 keygen element) support 2013-05-06 16:36:06 -06:00
openssl_x509_fingerprint.phpt Renamed to be more descriptive of what it does 2013-09-23 00:51:17 +08:00
openssl_x509_parse_basic.phpt Fix OpenSSL version-dependent diff. "Time Stamp signing" is not in openssl 0.9. Skip current test for 0.9. New test for 0.9 approved by Stas 2012-02-07 01:15:13 +00:00
openssl_x509_parse_basic_v9.phpt Fix OpenSSL version-dependent diff. "Time Stamp signing" is not in openssl 0.9. Skip current test for 0.9. New test for 0.9 approved by Stas 2012-02-07 01:15:13 +00:00
peer_verification.phpt Deprecate CN_match in favor of peer_name in SSL contexts 2014-02-26 13:20:06 -07:00
private.key Fix uninitilized variables in openssl_pkcs7_encrypt() and openssl_pkcs7_sign() 2008-07-15 02:59:56 +00:00
public.key Fix error message 2008-07-15 03:20:44 +00: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 Deprecate CN_match in favor of peer_name in SSL contexts 2014-02-26 13:20:06 -07:00
sni_001.phpt Deprecate CN_match in favor of peer_name in SSL contexts 2014-02-26 13:20:06 -07:00
stream_crypto_flags_001.phpt Deprecate CN_match in favor of peer_name in SSL contexts 2014-02-26 13:20:06 -07:00
stream_crypto_flags_002.phpt Deprecate CN_match in favor of peer_name in SSL contexts 2014-02-26 13:20:06 -07:00
stream_crypto_flags_003.phpt Deprecate CN_match in favor of peer_name in SSL contexts 2014-02-26 13:20:06 -07: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 remove pcntl leftover from the test code 2014-02-27 15:50:17 +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 Deprecate CN_match in favor of peer_name in SSL contexts 2014-02-26 13:20:06 -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 Deprecate CN_match in favor of peer_name in SSL contexts 2014-02-26 13:20:06 -07:00
tlsv1.0_wrapper.phpt Deprecate CN_match in favor of peer_name in SSL contexts 2014-02-26 13:20:06 -07:00
tlsv1.1_wrapper.phpt Deprecate CN_match in favor of peer_name in SSL contexts 2014-02-26 13:20:06 -07:00
tlsv1.2_wrapper.phpt Deprecate CN_match in favor of peer_name in SSL contexts 2014-02-26 13:20:06 -07:00