Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | Enclose contents of CLEAN sections in PHP tags | Christoph M. Becker | 2020-04-29 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | | | | | | | We also place the CLEAN sections before EXPECT(F), and remove extraneous clean-ups. | |||||
* | | | | Merge branch 'PHP-7.4' | Nikita Popov | 2020-04-20 | 1 | -2/+2 | |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | * PHP-7.4: Fix #79497: Fix php_openssl_subtract_timeval() | |||||
| * | | | Merge branch 'PHP-7.3' into PHP-7.4 | Nikita Popov | 2020-04-20 | 1 | -2/+2 | |
| |\ \ \ | | |/ / | | | | | | | | | | | | | * PHP-7.3: Fix #79497: Fix php_openssl_subtract_timeval() | |||||
| | * | | Fix #79497: Fix php_openssl_subtract_timeval() | Joe Cai | 2020-04-20 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I stumbled upon this while debugging a strange issue with stream_socket_client() where it randomly throws out errors when the connection timeout is set to below 1s. The logic to calculate time difference in php_openssl_subtract_timeval() is wrong when a.tv_usec < b.tv_usec, causing connection errors before the timeout is reached. | |||||
* | | | | Store default parameter values of internal functions in arg info | Máté Kocsis | 2020-04-08 | 1 | -39/+39 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes GH-5353. From now on, PHP will have reflection information about default values of parameters of internal functions. Co-authored-by: Nikita Popov <nikita.ppv@gmail.com> | |||||
* | | | | Generate function entries for another batch of extensions | Máté Kocsis | 2020-04-05 | 4 | -157/+127 | |
| | | | | | | | | | | | | | | | | Closes GH-5352 | |||||
* | | | | Annotate function aliases in stubs | Máté Kocsis | 2020-04-04 | 1 | -1/+6 | |
| | | | | ||||||
* | | | | Merge branch 'PHP-7.4' | Christoph M. Becker | 2020-04-01 | 1 | -0/+2 | |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | * PHP-7.4: Enable error diagnostic for check_default_conf_path.phpt | |||||
| * | | | Enable error diagnostic for check_default_conf_path.phpt | Christoph M. Becker | 2020-04-01 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | | | Otherwise we have no clue why the test failed, if the regex didn't match. | |||||
* | | | | Improve error messages of various extensions | Máté Kocsis | 2020-03-23 | 2 | -2/+2 | |
| | | | | | | | | | | | | | | | | Closes GH-5278 | |||||
* | | | | Change argument error message format | Máté Kocsis | 2020-02-26 | 3 | -5/+5 | |
| | | | | | | | | | | | | | | | | Closes GH-5211 | |||||
* | | | | Remove deprecated capture_session_meta OpenSSL stream context | George Peter Banyard | 2020-02-26 | 3 | -78/+10 | |
| | | | | | | | | | | | | | | | | Closes GH-5200 | |||||
* | | | | Add stubs for aliases | Máté Kocsis | 2020-02-18 | 3 | -3/+24 | |
| | | | | | | | | | | | | | | | | Closes GH-5187 | |||||
* | | | | Make type error messages more consistent | Máté Kocsis | 2020-02-17 | 3 | -5/+5 | |
| | | | | | | | | | | | | | | | | Closes GH-5092 | |||||
* | | | | 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 | |
|\ \ \ \ | |/ / / |