| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
| | | |
| | | |
| | | |
| | | | |
A few additional tests have been added on master that require
lower security level.
|
|\ \ \ \
| |/ / / |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The certificate really doesn't matter here, but it still needs to
comply with security level...
|
| | | |
| | | |
| | | |
| | | | |
Make this test pass under security level 2.
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | | |
This reverts commit b281493503401a2b5c45c11fcd0498d8448998c2.
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-7.4:
Fix tests regarding OpenSSL security_level
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The `security_level` stream option is only available as of OpenSSL
1.1.0, so we only set it for these versions. Older OpenSSL versions
do not have security levels at all.
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This migrates all the tests using ext/openssl/tests/streams_crypto_method.pem
to the certificate generator, so we can easily adjust needed parameters.
In particular, this makes the cert security level 2 compatible.
However, we still need to downgrade security_level to 1 in a number
of tests, because they are testing TLS < 1.2 connections.
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This makes the generated certificates compatible with security
level 2, which is apparently the default on Ubuntu 20.04.
Unfortunately this does not fix all tests, because some are using
pre-generated certificates.
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-7.4:
Fix #62890: default_socket_timeout=-1 causes connection to timeout
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | | |
* PHP-7.3:
Fix #62890: default_socket_timeout=-1 causes connection to timeout
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
While unencrypted connections ignore negative timeouts, SSL/TLS
connections did not special case that, and so always failed due to
timeout.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It add CMS (RFC 5652) support, which is an update to PKCS7. The functions
are analogous BUT NOT IDENTICAL to openssl_pkcs7*. In particular, support for
different encodings (PEM, DER, SMIME) is now available.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Same as https://github.com/php/php-src/pull/2681/files but for openssl_pkcs12_export_to_file
Closes GH-5665
|
| | | |
| | | |
| | | |
| | | |
| | | | |
We also place the CLEAN sections before EXPECT(F), and remove
extraneous clean-ups.
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-7.4:
Enable error diagnostic for check_default_conf_path.phpt
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Otherwise we have no clue why the test failed, if the regex didn't
match.
|
| | | |
| | | |
| | | |
| | | | |
Closes GH-5278
|
| | | |
| | | |
| | | |
| | | | |
Closes GH-5211
|
| | | |
| | | |
| | | |
| | | | |
Closes GH-5200
|
| | | |
| | | |
| | | |
| | | | |
Closes GH-5092
|
| | | | |
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-7.4:
Fix #79145: openssl memory leak
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | | |
* PHP-7.3:
Fix #79145: openssl memory leak
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We must increase the refcount of `return_value` only if `cert` is a
resource; this is already done in `php_openssl_evp_from_zval()`,
though.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Closes GH-5066 As a first step, let's capitalize their initial letter when it is applicable.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Remove most of the `===DONE===` tags and its variations.
Keep `===DONE===` if the test output otherwise becomes empty.
Closes GH-4872.
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-7.4:
Update regarding changed OpenSSL default config path
|
| | | | |
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-7.4:
Add missing SKIPIF (openssl)
|
| | | |
| | | |
| | | |
| | | | |
Co-Authored-By: Gabriel Caruso <carusogabriel34@gmail.com>
|
| | | | |
|
|\ \ \ \ |
|
| |/ / / |
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
RFC: https://wiki.php.net/rfc/tostring_exceptions
And convert some object to string conversion related recoverable
fatal errors into Error exceptions.
Improve exception safety of internal code performing string
conversions.
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
TLS 1.3 does not support renegotiation, make sure this test does
not use it.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
More type checks that are not part of zpp and should generate a
TypeError in PHP 8.
|
|\ \ \ \
| |/ / / |
|
| |\ \ \
| | |/ / |
|
| | |\ \
| | | |/ |
|
| | | |
| | | |
| | | |
| | | | |
It also fixes invalid setting of tag length
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-7.4:
Remove unused variable
|