summaryrefslogtreecommitdiff
path: root/ext/openssl/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-7.1' into PHP-7.2Jakub Zelenka2018-04-151-5/+8
|\
| * Make openssl_error_string test work in OpenSSL 1.1.1Jakub Zelenka2018-04-151-5/+8
| | | | | | | | It was the only failing test
* | Use correct certs for SNI server tests with separate key and certJakub Zelenka2018-01-3013-262/+186
| |
* | Merge branch 'PHP-7.1' into PHP-7.2Jakub Zelenka2018-01-309-316/+240
|\ \ | |/
| * Use correct certs for SNI server testsJakub Zelenka2018-01-309-316/+240
| |
* | Merge branch 'PHP-7.1' into PHP-7.2Jakub Zelenka2017-10-3014-25/+203
|\ \ | |/
| * Merge branch 'PHP-7.0' into PHP-7.1Jakub Zelenka2017-10-3014-25/+203
| |\
| | * Extend and speed up pkey export testsJakub Zelenka2017-10-302-10/+4
| | |
| | * Rewrite openssl_csr_get_subject test to improve coverageJakub Zelenka2017-10-301-11/+47
| | |
| | * Add openssl_csr_get_public_key testJakub Zelenka2017-10-301-0/+44
| | |
| | * Extend openssl_pkcs7_* tests to cover resource certJakub Zelenka2017-10-303-0/+8
| | |
| | * Fix cleaning tmp output file in openssl_csr_export_to_file testJakub Zelenka2017-10-301-0/+1
| | |
| | * openssl: add basic openssl_csr_export_to_file testsJelle van der Waa2017-10-301-0/+82
| | | | | | | | | | | | Add a basic test for openssl_csr_export_to_file.
| | * Extend openssl_csr_sign test to cover cert resourceJakub Zelenka2017-10-301-0/+2
| | |
| | * Set different invalid path in openssl_pkcs12_export so it is more unlikely ↵Jakub Zelenka2017-10-301-1/+1
| | | | | | | | | | | | to exist
| | * Extend openssl_x509_parse to cover cert resourceJakub Zelenka2017-10-301-1/+4
| | |
| | * Rename and test resource cert in openssl_x509_checkpurpose testJakub Zelenka2017-10-301-1/+2
| | |
| | * Extend openssl_x509_check_private_key to test resource certJakub Zelenka2017-10-301-1/+1
| | |
| | * Extend openssl_x509_fingerprint test to cover resource cert with sha1Jakub Zelenka2017-10-301-0/+7
| | |
* | | Merge branch 'PHP-7.1' into PHP-7.2Joe Watkins2017-10-271-0/+18
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: Fix bug #75307 Wrong reflection for openssl_open function
| * | Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-10-271-0/+18
| |\ \ | | |/ | | | | | | | | | * PHP-7.0: Fix bug #75307 Wrong reflection for openssl_open function
| | * Fix bug #75307 Wrong reflection for openssl_open functionFabien Villepinte2017-10-271-0/+18
| | |
* | | Merge branch 'PHP-7.1' into PHP-7.2Jakub Zelenka2017-10-222-3/+5
|\ \ \ | |/ /
| * | Merge branch 'PHP-7.0' into PHP-7.1Jakub Zelenka2017-10-222-3/+5
| |\ \ | | |/
| | * Fix clean up for openssl_pkcs12_export_to_file_basicJakub Zelenka2017-10-221-1/+2
| | |
| | * openssl: Fix openssl_pkcs12_export extracerts testJelle van der Waa2017-10-221-2/+3
| | | | | | | | | | | | | | | | | | Fix the openssl_pkcs12_export testcase for extracerts, the 'extracerts' option needs to be the key of the certificate value otherwise openssl_pkcs12_export will ignore it.
* | | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2017-07-241-0/+83
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: Add test for bug #74903
| * | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2017-07-241-0/+83
| |\ \ | | |/ | | | | | | | | | * PHP-7.0: Add test for bug #74903
| | * Add test for bug #74903Anatol Belski2017-07-241-0/+83
| | |
* | | Merge branch 'PHP-7.1' into PHP-7.2Joe Watkins2017-07-241-0/+60
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: openssl: Add openssl_pkcs12_export_to_file tests
| * | Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-07-241-0/+60
| |\ \ | | |/ | | | | | | | | | * PHP-7.0: openssl: Add openssl_pkcs12_export_to_file tests
| | * openssl: Add openssl_pkcs12_export_to_file testsJelle van der Waa2017-07-241-0/+60
| | | | | | | | | | | | Add basic tests for openssl_pkcs12_export_to_file.
* | | Add support for OpenSSL security levelJakub Zelenka2017-07-171-0/+48
| | |
* | | Allow setting SNI cert and pk in separate filesJakub Zelenka2017-07-167-0/+316
| | |
* | | Merge branch 'PHP-7.1'Stanislav Malyshev2017-07-042-0/+44
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.1: Improve fix for #74145 Fix wddx Fix tests Fixed bug #74111 Fix bug #74603 - use correct buffer size Fix bug #74651 - check EVP_SealInit as it can return -1 Update NEWS Fix bug #74087 Fixed parsing of strange formats with mixed month/day and time strings Fix bug #74145 - wddx parsing empty boolean tag leads to SIGSEGV Fixed bug #74111 Fix #74435: Buffer over-read into uninitialized memory Fix bug #74603 - use correct buffer size Fix bug #74651 - check EVP_SealInit as it can return -1 Update NEWS Fix bug #73807
| * | Merge branch 'PHP-7.0' into PHP-7.1Stanislav Malyshev2017-07-042-0/+44
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.0: Improve fix for #74145 Fix wddx Fix tests Fixed bug #74111 Fix bug #74603 - use correct buffer size Fix bug #74651 - check EVP_SealInit as it can return -1 Update NEWS Fix bug #74087 Fixed parsing of strange formats with mixed month/day and time strings Fix bug #74145 - wddx parsing empty boolean tag leads to SIGSEGV Fixed bug #74111 Fix #74435: Buffer over-read into uninitialized memory Fix bug #74603 - use correct buffer size Fix bug #74651 - check EVP_SealInit as it can return -1 Update NEWS Fix bug #73807
| | * Fix bug #74651 - check EVP_SealInit as it can return -1Stanislav Malyshev2017-07-042-0/+44
| | |
* | | Merge branch 'PHP-7.1'Jakub Zelenka2017-06-254-0/+50
|\ \ \ | |/ /
| * | Add OPENSSL_DONT_ZERO_PAD_KEY constant to prevent key paddingJakub Zelenka2017-06-254-0/+50
| | | | | | | | | | | | | | | | | | It fixes bug #71917 (openssl_open() returns junk on envelope < 16 bytes) and bug #72362 (OpenSSL Blowfish encryption is incorrect for short keys).
* | | Relax test condition, as OpenSSL 1.1.x out differs in EOL onlyAnatol Belski2017-06-241-1/+1
| | |
* | | Merge branch 'PHP-7.1'Anatol Belski2017-06-241-0/+96
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: Fix bug #74798 pkcs7_en/decrypt does not work if \x0a is used in content
| * | Fix bug #74798 pkcs7_en/decrypt does not work if \x0a is used in contentAnatol Belski2017-06-241-0/+96
| | | | | | | | | | | | The patch for bug #74720 was incomplete.
* | | Add openssl_pkcs7_read and output P7B in openssl_pkcs7_verifyJelle van der Waa2017-06-223-0/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an optional argument to openssl_pkcs7_verify to save the P7B structure which can contain extra CA intermediate certificates send along with an S/MIME signed email. Introduce a new function called openssl_pkcs7_read, which can read a PKCS#7 structure passed as a string and returns by reference an array with PEM certificates formatted as a string.
* | | Merge branch 'PHP-7.1'Jakub Zelenka2017-06-184-0/+203
|\ \ \ | |/ /
| * | Merge branch 'PHP-7.0' into PHP-7.1Jakub Zelenka2017-06-184-0/+203
| |\ \ | | |/
| | * openssl: Add openssl_pkcs12_(read, export) testsJelle van der Waa2017-06-184-0/+203
| | | | | | | | | | | | | | | | | | Add basic tests for openssl_pkcs12_read and openssl_pkcs12_export. openssl_pkcs12_export has two tests disable which currently do not work as intended and should be fixed.
* | | Use any TLS crypto method by default, don't use SSLNiklas Keller2017-06-101-0/+59
| | |
* | | Merge branch 'PHP-7.1'Anatol Belski2017-06-092-0/+181
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: Fixed bug #74720 pkcs7_en/decrypt does not work if \x1a is used in
| * | Fixed bug #74720 pkcs7_en/decrypt does not work if \x1a is used inAnatol Belski2017-06-092-0/+181
| | | | | | | | | | | | content
* | | openssl: Add basic openssl_pkcs7_verify testsJelle van der Waa2017-06-012-0/+116
| | | | | | | | | | | | | | | Add basic openssl_pkcs7_verify tests, which verifies a signed email, extracts the signed certificate and the body of the email.