Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Replace @param annotations with type declarations" | Christoph M. Becker | 2020-02-17 | 2 | -4/+6 |
| | | | | This reverts commit c31029f335ca1b453af799805c43c37e959ad555. | ||||
* | Replace @param annotations with type declarations | Christoph M. Becker | 2020-02-16 | 2 | -6/+4 |
| | |||||
* | Reindent phpt files | Nikita Popov | 2020-02-03 | 13 | -78/+78 |
| | |||||
* | Merge branch 'PHP-7.4' | Christoph M. Becker | 2020-01-21 | 2 | -2/+26 |
|\ | | | | | | | | | * PHP-7.4: Fix #79145: openssl memory leak | ||||
| * | Merge branch 'PHP-7.3' into PHP-7.4 | Christoph M. Becker | 2020-01-21 | 2 | -2/+26 |
| |\ | | | | | | | | | | | | | * PHP-7.3: Fix #79145: openssl memory leak | ||||
| | * | Fix #79145: openssl memory leak | Christoph M. Becker | 2020-01-21 | 2 | -2/+26 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | Fix #78880 Another round | Máté Kocsis | 2020-01-19 | 1 | -1/+1 |
| | | | |||||
* | | | Make error messages more consistent by fixing capitalization | Máté Kocsis | 2020-01-17 | 31 | -140/+140 |
| | | | | | | | | | | | | Closes GH-5066 As a first step, let's capitalize their initial letter when it is applicable. | ||||
* | | | Fix #78880: Final spelling fixes | Máté Kocsis | 2020-01-16 | 1 | -1/+1 |
| | | | |||||
* | | | Fix #78880: Yet another batch of spelling errors | Máté Kocsis | 2020-01-16 | 1 | -1/+1 |
| | | | |||||
* | | | Use RETURN_THROWS() after zend_fetch_resource*() | Máté Kocsis | 2020-01-03 | 1 | -4/+4 |
| | | | |||||
* | | | Use RETURN_THROWS() during ZPP in most of the extensions | Máté Kocsis | 2019-12-31 | 1 | -60/+65 |
| | | | | | | | | | | | | Except for some bigger ones: reflection, sodium, spl | ||||
* | | | Add union return types for function stubs | Máté Kocsis | 2019-11-11 | 2 | -76/+50 |
| | | | |||||
* | | | Clean DONE tags from tests | Fabien Villepinte | 2019-11-07 | 8 | -16/+0 |
| | | | | | | | | | | | | | | | | | | | | | Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872. | ||||
* | | | Merge branch 'PHP-7.4' | Nikita Popov | 2019-11-05 | 1 | -0/+2 |
|\ \ \ | |/ / | | | | | | | | | | * PHP-7.4: Fixed bug #78775 | ||||
| * | | Merge branch 'PHP-7.3' into PHP-7.4 | Nikita Popov | 2019-11-05 | 1 | -0/+2 |
| |\ \ | | |/ | | | | | | | | | | * PHP-7.3: Fixed bug #78775 | ||||
| | * | Merge branch 'PHP-7.2' into PHP-7.3 | Nikita Popov | 2019-11-05 | 1 | -0/+2 |
| | |\ | | | | | | | | | | | | | | | | | * PHP-7.2: Fixed bug #78775 | ||||
| | | * | Fixed bug #78775 | Nikita Popov | 2019-11-05 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | Clear the OpenSSL error queue before performing SSL stream operations. As we don't control all code that could possibly be using OpenSSL, we can't rely on the error queue being empty. | ||||
* | | | | Accept int parameter in the first place | Christoph M. Becker | 2019-11-01 | 1 | -10/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | This is more liberal then before, where that parameter (if given) had to be IS_LONG, while now it would be converted to int according to weak typing rules. This is, however, more what a developer would expect. | ||||
* | | | | Add missing ZPP checks | Máté Kocsis | 2019-11-01 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | Closes GH-4878. | ||||
* | | | | Finish OpenSSL arginfo stubs | Christoph M. Becker | 2019-11-01 | 3 | -178/+261 |
| | | | | |||||
* | | | | Cleanup return values when parameter parsing is unsuccessful | Máté Kocsis | 2019-10-30 | 1 | -1/+1 |
| | | | | |||||
* | | | | Add more openssl stubs | Rimvydas Zilinskas | 2019-10-30 | 3 | -121/+195 |
| | | | | | | | | | | | | | | | | Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de> | ||||
* | | | | Add missing zend_parse_parameters_none() checks | Gabriel Caruso | 2019-10-08 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | Closes GH-4796. | ||||
* | | | | Merge branch 'PHP-7.4' | Christoph M. Becker | 2019-10-01 | 1 | -3/+3 |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | * PHP-7.4: Update regarding changed OpenSSL default config path | ||||
| * | | | Update regarding changed OpenSSL default config path | Christoph M. Becker | 2019-10-01 | 1 | -3/+3 |
| | | | | |||||
* | | | | Remove mention of PHP major version in Copyright headers | Gabriel Caruso | 2019-09-25 | 3 | -6/+0 |
| | | | | | | | | | | | | | | | | Closes GH-4732. | ||||
* | | | | Merge branch 'PHP-7.4' | Christoph M. Becker | 2019-09-04 | 1 | -0/+2 |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | * PHP-7.4: Add missing SKIPIF (openssl) | ||||
| * | | | Add missing SKIPIF (openssl) | Fabien Villepinte | 2019-09-04 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | Co-Authored-By: Gabriel Caruso <carusogabriel34@gmail.com> | ||||
| * | | | Fixed bug #78391 | Nikita Popov | 2019-08-09 | 2 | -1/+14 |
| | | | | |||||
* | | | | Add partial openssl stubs | Rimvydas Zilinskas | 2019-08-10 | 3 | -48/+74 |
| | | | | | | | | | | | | | | | | Closes GH-4509. | ||||
* | | | | Merge branch 'PHP-7.4' | Nikita Popov | 2019-08-09 | 2 | -1/+14 |
|\ \ \ \ | |||||
| * | | | | Fixed bug #78391 | Nikita Popov | 2019-08-09 | 2 | -1/+14 |
| |/ / / | |||||
* | | | | Merge branch 'PHP-7.4' | Nikita Popov | 2019-07-24 | 1 | -21/+2 |
|\ \ \ \ | |/ / / | |||||
| * | | | Remove php_openssl_cipher_get_version() | Nikita Popov | 2019-07-24 | 1 | -21/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | This was added in 7.1 when add_assoc_string mistakenly accepted a char* rather than const char* parameter and is no longer needed. We can use SSL_CIPHER_get_version() directly. | ||||
* | | | | Merge branch 'PHP-7.4' | Nikita Popov | 2019-07-22 | 1 | -4/+4 |
|\ \ \ \ | |/ / / | |||||
| * | | | Report errors from stream read and write operations | Nikita Popov | 2019-07-22 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The php_stream_read() and php_stream_write() functions now return an ssize_t value, with negative results indicating failure. Functions like fread() and fwrite() will return false in that case. As a special case, EWOULDBLOCK and EAGAIN on non-blocking streams should not be regarded as error conditions, and be reported as successful zero-length reads/writes instead. The handling of EINTR remains unclear and is internally inconsistent (e.g. some code-paths will automatically retry on EINTR, while some won't). I'm landing this now to make sure the stream wrapper ops API changes make it into 7.4 -- however, if the user-facing changes turn out to be problematic we have the option of clamping negative returns to zero in php_stream_read() and php_stream_write() to restore the old behavior in a relatively non-intrusive manner. | ||||
* | | | | Merge branch 'PHP-7.4' | Peter Kokot | 2019-07-22 | 1 | -10/+0 |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | * PHP-7.4: Fix internals upgrading log Remove HAVE_DSA_DEFAULT_METHOD | ||||
| * | | | Remove HAVE_DSA_DEFAULT_METHOD | Peter Kokot | 2019-07-22 | 1 | -10/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | Last usage removed via 6a813634052710f3f4bf6e2e03ca1b6c7be3bcee. Closes GH-4455 | ||||
* | | | | Merge branch 'PHP-7.4' | Nikita Popov | 2019-07-03 | 1 | -1/+2 |
|\ \ \ \ | |/ / / | |||||
| * | | | Merge branch 'PHP-7.3' into PHP-7.4 | Nikita Popov | 2019-07-03 | 1 | -1/+2 |
| |\ \ \ | | |/ / | |||||
| | * | | Merge branch 'PHP-7.2' into PHP-7.3 | Nikita Popov | 2019-07-03 | 1 | -1/+2 |
| | |\ \ | | | |/ | |||||
| | | * | Fixed bug #78231 | Nikita Popov | 2019-07-03 | 1 | -1/+2 |
| | | | | |||||
* | | | | Merge branch 'PHP-7.4' | Nikita Popov | 2019-06-21 | 2 | -13/+34 |
|\ \ \ \ | |/ / / | |||||
| * | | | Merge branch 'PHP-7.3' into PHP-7.4 | Nikita Popov | 2019-06-21 | 2 | -13/+34 |
| |\ \ \ | | |/ / | |||||
| | * | | Merge branch 'PHP-7.2' into PHP-7.3 | Nikita Popov | 2019-06-21 | 2 | -13/+34 |
| | |\ \ | | | |/ | |||||
| | | * | Fix PKCS12 leak in openssl | Nikita Popov | 2019-06-21 | 1 | -2/+3 |
| | | | | |||||
| | | * | Fix d leak in ecc openssl_pkey_new | Nikita Popov | 2019-06-21 | 1 | -1/+6 |
| | | | | |||||
| | | * | Fix netscape spki leak in openssl | Nikita Popov | 2019-06-21 | 1 | -0/+3 |
| | | | | |||||
| | | * | Fix X509 leak in openssl_pkcs7_verify() | Nikita Popov | 2019-06-21 | 1 | -1/+1 |
| | | | |