Jakub Zelenka
cdc33251d2
Add OpenSSL 1.1.0 support to PHP 7.0
2017-04-07 19:21:33 +01:00
Nikita Popov
8aa419c91c
Merge branch 'PHP-7.1'
2017-04-02 01:08:42 +02:00
Nikita Popov
32dcc1eef0
Merge branch 'PHP-7.0' into PHP-7.1
2017-04-02 01:08:24 +02:00
Moritz Fain
46d286574b
Fixed bug #74341
...
Added support for ASN.1 UTCTime without seconds part (being 11 characters
long instead of 13).
Additionally, fixed incorrect handling of DST on systems without gmtoff.
2017-04-02 01:04:32 +02:00
Nikita Popov
efefb5276b
Merge branch 'PHP-7.1'
2017-02-17 21:23:31 +01:00
andrewnester
15b8b124ae
Fixed #74099 - Memory leak with openssl_encrypt()
2017-02-17 21:23:16 +01:00
Anatol Belski
2bff68a2f0
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fixed #74022 PHP Fast CGI crashes when reading from a pfx file.
2017-02-02 13:07:48 +01:00
Anatol Belski
9b9080e85d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed #74022 PHP Fast CGI crashes when reading from a pfx file.
2017-02-02 13:06:31 +01:00
Anatol Belski
6fc0ae638a
Fixed #74022 PHP Fast CGI crashes when reading from a pfx file.
2017-02-02 12:48:12 +01:00
Jakub Zelenka
4a72d340a3
Merge branch 'PHP-7.1'
2017-01-25 19:56:19 +00:00
Jakub Zelenka
519b0dc886
Fix bug #73978 (openssl_decrypt triggers bug in PDO)
2017-01-25 19:55:05 +00:00
Leigh
2a9ee3c6f6
Merge branch 'PHP-7.1'
2017-01-18 15:04:19 +00:00
Leigh
85589ca660
Add php_openssl_store_errors to bailouts
2017-01-18 15:02:52 +00:00
Leigh
9c5a1c8ae9
Merge branch 'PHP-7.1'
2017-01-18 14:48:36 +00:00
Leigh
d2f07edf71
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-18 14:47:49 +00:00
Leigh
e7e96fe2e0
Change free to OPENSSL_free
2017-01-18 14:45:41 +00:00
Joe Watkins
a1fd706d7d
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Remove more TSRMLS_CC macros
2017-01-18 10:00:26 +00:00
Thomas Punt
9977bdf9b3
Remove more TSRMLS_CC macros
2017-01-18 10:00:15 +00:00
Joe Watkins
c9c8a301fa
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fix memleaks from #1755 and some pre-existing ones
2017-01-07 10:15:37 +00:00
Joe Watkins
5ae45ef993
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix memleaks from #1755 and some pre-existing ones
2017-01-07 10:15:15 +00:00
Leigh
21f287915c
Remove superfluous variable reinit
2017-01-07 09:43:05 +00:00
Leigh
62e9e1fecd
Some commentary, change free method
2017-01-06 15:49:15 +00:00
Leigh
9a0dac124e
Conditionally free depending on how assignment happened
2017-01-06 15:24:37 +00:00
Leigh
053b966134
Fix memleaks from #1755 and some pre-existing ones
2017-01-06 14:58:54 +00:00
Joe Watkins
2d42423953
Merge branch 'pull-request/1755'
...
* pull-request/1755:
Fix bug #71519 Add 'serialNumberHex' variable to openssl_x509_parse
2017-01-06 07:43:59 +00:00
Joe Watkins
0884cffb67
Merge branch 'pull-request/1755'
...
* pull-request/1755:
Fix bug #71519 Add 'serialNumberHex' variable to openssl_x509_parse
2017-01-06 07:42:57 +00:00
Joe Watkins
7e3a8ef5e1
Merge branch 'pull-request/1755'
...
* pull-request/1755:
Fix bug #71519 Add 'serialNumberHex' variable to openssl_x509_parse
2017-01-06 07:41:48 +00:00
Sammy Kaye Powers
dac6c639bb
Update copyright headers to 2017
2017-01-04 11:23:42 -06:00
Sammy Kaye Powers
478f119ab9
Update copyright headers to 2017
2017-01-04 11:14:55 -06:00
Sammy Kaye Powers
9e29f841ce
Update copyright headers to 2017
2017-01-02 09:30:12 -06:00
Jakub Zelenka
42155c3631
Merge branch 'PHP-7.1'
2016-11-27 19:00:57 +00:00
Jakub Zelenka
0ebdf3625e
Do not add extra timeval entropy when OpenSSL 1.1 used
...
It is already added by OpenSSL so it is not needed
2016-11-27 19:00:05 +00:00
Jakub Zelenka
202e95e18f
Merge branch 'PHP-7.1'
2016-11-27 18:57:35 +00:00
Jakub Zelenka
0f4216298f
Clean up and fix php_openssl_dh_pub_from_priv
2016-11-27 18:54:28 +00:00
Jakub Zelenka
b98357823a
Merge branch 'PHP-7.1'
2016-11-20 20:08:34 +00:00
Jakub Zelenka
ce4869f038
Fix bug #73478 (openssl_pkey_new() generates wrong pub/priv keys with Diffie Hellman)
2016-11-20 20:06:39 +00:00
Kalle Sommer Nielsen
2104bea5d7
Remove Netware support
...
If this does not break the Unix system somehow, I'll be amazed. This should get most of it out, apologies for any errors this may cause on non-Windows ends which I cannot test atm.
2016-11-12 11:20:01 +01:00
Jakub Zelenka
a93d272549
Merge branch 'PHP-7.1'
2016-11-06 17:40:59 +00:00
Jakub Zelenka
e840071b76
Never return private part of the key from openssl_csr_get_public_key
...
This fixes ecc.phpt test when OpenSSL 1.1 linked.
2016-11-06 17:37:06 +00:00
Jakub Zelenka
17dc15b51e
Merge branch 'PHP-7.1'
2016-10-30 19:13:21 +00:00
Jakub Zelenka
1a13809bae
Define X509_get_signature_nid for LibreSSL
...
It should hopefully fix the LibreSSL build. Thanks to Alice Wonder!
2016-10-30 19:12:24 +00:00
Jakub Zelenka
a8f426d4e8
Merge branch 'PHP-7.1'
2016-10-30 19:02:46 +00:00
Jakub Zelenka
72659f9597
Fix EC_KEY memory leaks
...
It was caused by using of EVP_PKEY_get1_EC_KEY which increments an EC_KEY
reference. The fix it we simply use EVP_PKEY_get0_EC_KEY.
2016-10-30 18:58:11 +00:00
Jakub Zelenka
df73aa0e65
Merge branch 'PHP-7.1'
2016-10-23 19:56:29 +01:00
Jakub Zelenka
820bca8ca3
Try to fix LibreSSL build
2016-10-23 19:55:22 +01:00
Jakub Zelenka
eca30fd1b1
Merge branch 'PHP-7.1'
2016-10-23 19:40:48 +01:00
Jakub Zelenka
930ae4034e
Drop useless checks for DH and RSA
...
If DH or RSA was disabled, the build would fail already as
it's used already elsewhere without checking the OPENSSL_NO_DH
or OPENSSL_NO_RSA defines.
2016-10-23 19:37:07 +01:00
Kalle Sommer Nielsen
e63c864609
Fix build, decls first
2016-10-16 06:36:54 +02:00
Stanislav Malyshev
177e6adca7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix outlen for openssl function
Syncronize with 5.6 - __toString should return ""
Fix potential overflows in php_pcre_replace_impl
(cherry picked from commit ff75665663
)
2016-10-14 01:58:48 +02:00
Anatol Belski
7897e8cd6c
followup with #73276 merge
...
(cherry picked from commit b135ba3fa9
)
2016-10-14 01:43:02 +02:00