Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'PHP-7.0' into PHP-7.1 | Jakub Zelenka | 2016-09-13 | 2 | -3/+51 |
|\ | |||||
| * | Merge branch 'PHP-5.6' into PHP-7.0 | Jakub Zelenka | 2016-09-13 | 2 | -3/+51 |
| |\ | |||||
| | * | Fix bug #73072 (Invalid path SNI_server_certs causes segfault) | Jakub Zelenka | 2016-09-13 | 2 | -3/+51 |
| | | | |||||
* | | | Fix #72948: Uncatchable "Catchable" fatal error for class to string conversions | Christoph M. Becker | 2016-09-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | E_RECOVERABLE errors are reported as "Catchable fatal error". This is misleading, because they actually can't be caught via try-catch statements. Therefore we change the wording to "Recoverable fatal error" as suggested by Nikita. | ||||
* | | | Do not expect error 0407006A in openssl_private_(en|de)crypt | Jakub Zelenka | 2016-08-21 | 1 | -1/+1 |
| | | | | | | | | | | | | It makes the test work with OpenSSL 1.1 | ||||
* | | | Set DSA or DH key only if pub key supplied | Jakub Zelenka | 2016-08-14 | 1 | -10/+4 |
| | | | |||||
* | | | Return false if tag is not supplied or cannot be retrieved in AEAD | Jakub Zelenka | 2016-08-14 | 2 | -2/+15 |
| | | | | | | | | | | | | | | | It doesn't make sense to return just encoded string as it cannot be used anyway (decryption without a tag will not work). | ||||
* | | | Do not add already added object to the internal OpenSSL table | Jakub Zelenka | 2016-08-03 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | This fixes OpenSSL 1.1 where adding object with OID that has been already added causes an error - preventing of duplication. | ||||
* | | | Use OPENSSL_RAW_DATA in raw data decryption tests | Nikita Popov | 2016-07-22 | 2 | -6/+12 |
| | | | |||||
* | | | Require strict base64 in openssl_decode | Lauri Kenttä | 2016-07-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | Using invalid data in a security-related context makes no sense, and there's even a test which depends on invalid base64 data failing, even though it currently fails for the wrong reasons by sheer luck. | ||||
* | | | Fix test: Use valid base64 even for invalid OpenSSL data | Lauri Kenttä | 2016-07-22 | 1 | -1/+1 |
| | | | |||||
* | | | Add missing X509_get_signature_nid for 1.0.1 | Jakub Zelenka | 2016-07-19 | 1 | -0/+9 |
| | | | |||||
* | | | Use always non const SSL cipher version string | Jakub Zelenka | 2016-07-19 | 1 | -2/+19 |
| | | | |||||
* | | | Update authors of openssl.c | Jakub Zelenka | 2016-07-17 | 1 | -0/+1 |
| | | | |||||
* | | | Use opaque EVP_PKEY for new EC logic in openssl_pkey_new | Jakub Zelenka | 2016-07-17 | 1 | -1/+1 |
| | | | |||||
* | | | Use opaque RSA, DSA and DH | Jakub Zelenka | 2016-07-17 | 2 | -69/+256 |
| | | | |||||
* | | | Add missing creating of md_ctx in openssl_digest | Jakub Zelenka | 2016-07-17 | 1 | -0/+1 |
| | | | |||||
* | | | Change sign method from ecdsa-with-SHA1 to SHA1 | Jakub Zelenka | 2016-07-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | There are no message digest methods for public key (e.g. ecdsa-with-SHA1, dsa*, DSA*) MD methods in OpenSSL 1.1. | ||||
* | | | Add missing break in php_openssl_is_private_key | Jakub Zelenka | 2016-07-17 | 1 | -0/+1 |
| | | | |||||
* | | | Use SHA1 instead of DSS1 in test for bug #41033 | Jakub Zelenka | 2016-07-17 | 1 | -2/+2 |
| | | | |||||
* | | | Hide setting server ECDH curve for OpenSSL 1.1 | Jakub Zelenka | 2016-07-17 | 1 | -2/+2 |
| | | | | | | | | | | | | It seems to be done automatically | ||||
* | | | Do not use tmp_rsa_cb for OpenSSL 1.1 | Jakub Zelenka | 2016-07-17 | 1 | -3/+3 |
| | | | | | | | | | | | | The SSL_CTX_set_tmp_rsa_callback has been removed | ||||
* | | | The DSS1 is not available in OpenSSL 1.1 | Jakub Zelenka | 2016-07-17 | 1 | -0/+6 |
| | | | |||||
* | | | Move and use opaque pkey in openssl_dh_compute_key | Jakub Zelenka | 2016-07-17 | 1 | -42/+47 |
| | | | |||||
* | | | Use opaque pkey in openssl_pkey_get_details | Jakub Zelenka | 2016-07-17 | 1 | -59/+65 |
| | | | |||||
* | | | Use EVP_PKEY_base_id where possible | Jakub Zelenka | 2016-07-17 | 1 | -3/+3 |
| | | | |||||
* | | | Use opaque EVP_PKEY in php_openssl_is_private_key | Jakub Zelenka | 2016-07-17 | 2 | -17/+24 |
| | | | |||||
* | | | Do not use X509 props directly in openssl_x509_parse | Jakub Zelenka | 2016-07-17 | 1 | -6/+8 |
| | | | |||||
* | | | Do not use X509_EXTENSION data directly as it is opaque | Jakub Zelenka | 2016-07-17 | 1 | -2/+4 |
| | | | |||||
* | | | Wrap pkey id and rsa getters | Jakub Zelenka | 2016-07-17 | 2 | -8/+12 |
| | | | |||||
* | | | Use opaque md ctx in openssl_sign and openssl_verify | Jakub Zelenka | 2016-07-17 | 1 | -10/+14 |
| | | | |||||
* | | | Use opaque cipher ctx in openssl_seal and openssl_open | Jakub Zelenka | 2016-07-17 | 1 | -15/+17 |
| | | | |||||
* | | | Use opaque EVP_MD_CTX in openssl_digest | Jakub Zelenka | 2016-07-17 | 1 | -4/+6 |
| | | | |||||
* | | | Bump minimal OpenSSL version to 1.0.1 | Jakub Zelenka | 2016-07-17 | 3 | -67/+7 |
| | | | |||||
* | | | force SSL_OP_NO_SSLv2 | Remi Collet | 2016-07-17 | 1 | -0/+3 |
| | | | |||||
* | | | Cleanup all SSLv2 code, whatever OpenSSL version is | Remi Collet | 2016-07-17 | 2 | -35/+2 |
| | | | |||||
* | | | Remove openssl test 029 as it is incomplete | Jakub Zelenka | 2016-06-29 | 1 | -254/+0 |
| | | | |||||
* | | | Revert "Skip new OpenSSL ECC tests on 32bit" | Dmitry Stogov | 2016-06-29 | 2 | -5/+1 |
| | | | | | | | | | | | | This reverts commit 0a4f89bc292c3c82ff719cd79e66ef96c2079526. | ||||
* | | | Skip new OpenSSL ECC tests on 32bit | Jakub Zelenka | 2016-06-28 | 2 | -1/+5 |
| | | | | | | | | | | | | | | | There has been reported that they fail on 32bit so they will be skipped till the issue is investigated. | ||||
* | | | Fixed compilation warnings | Dmitry Stogov | 2016-06-28 | 1 | -1/+1 |
| | | | |||||
* | | | Improve openssl ecc keypair support implementation | Jakub Zelenka | 2016-06-26 | 1 | -19/+43 |
| | | | |||||
* | | | Adds initial support to generate and work with ECC public key pair | Dominic Luechinger | 2016-06-26 | 5 | -28/+588 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New features: - openssl_get_curve_names => list ECC curve names - generate a ECC public key pair - generate an CSR with an ECC key - export x,y,d params of ECC public/private key Thanks to @bukka for the review and feedback | ||||
* | | | Fixed compilation warnings | Dmitry Stogov | 2016-06-22 | 2 | -7/+7 |
| | | | |||||
* | | | Added ZEND_ATTRIBUTE_FORMAT to some middind functions. | Dmitry Stogov | 2016-06-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | "%p" replaced by ZEND_LONG_FMT to avoid compilation warnings. Fixed most incorrect use cases of format specifiers. | ||||
* | | | Merge branch 'openssl_error_store' into openssl_aead | Jakub Zelenka | 2016-06-19 | 1 | -17/+0 |
|\ \ \ | |||||
| * | | | Remove test for incorrect fix of bug #69882 | Jakub Zelenka | 2016-06-19 | 1 | -17/+0 |
| | | | | | | | | | | | | | | | | The fix just cleared the errors without storing which was wrong | ||||
* | | | | Merge branch 'openssl_error_store' into openssl_aead | Jakub Zelenka | 2016-06-19 | 14 | -345/+486 |
|\ \ \ \ | |/ / / | |||||
| * | | | Remove expected openssl errors that are not needed anymore | Jakub Zelenka | 2016-06-19 | 1 | -2/+2 |
| | | | | |||||
| * | | | Merge branch 'master' into openssl_error_store | Jakub Zelenka | 2016-06-19 | 7 | -37/+37 |
| |\ \ \ | |||||
| | * | | | fix test portability | Anatol Belski | 2016-06-17 | 4 | -6/+6 |
| | | | | |