History log of /PHP-8.1/ext/openssl/openssl.c (Results 176 – 200 of 906)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# fc169d21 30-Oct-2017 Jakub Zelenka

Prevent leaking x509 and csr resources if it is not requested

All functions using php_openssl_x509_from_zval or php_openssl_csr_from_zval
with makeresource equal to 0 do not deref the re

Prevent leaking x509 and csr resources if it is not requested

All functions using php_openssl_x509_from_zval or php_openssl_csr_from_zval
with makeresource equal to 0 do not deref the resource which means there
is a leak till the end of the request. This can cause issues for long
running apps. It is a generic solution for bug #75363 which also covers
other functions.

show more ...

# f2367d46 27-Oct-2017 Joe Watkins

Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
Fix bug #75307 Wrong reflection for openssl_open function


# 14be7dcf 27-Oct-2017 Joe Watkins

Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
Fix bug #75307 Wrong reflection for openssl_open function


# 51ea2cfb 27-Oct-2017 Fabien Villepinte

Fix bug #75307 Wrong reflection for openssl_open function

Revision tags: php-7.1.11, php-5.6.32, php-7.2.0RC5, php-7.0.25
# a3da46b5 15-Oct-2017 Jakub Zelenka

Merge branch 'PHP-7.1' into PHP-7.2


# 547fee9c 15-Oct-2017 Jakub Zelenka

Merge branch 'PHP-7.0' into PHP-7.1


# 999fe36d 15-Oct-2017 Jakub Zelenka

Properly fix #75363 and address some other leaks with cert

# ee365074 12-Oct-2017 Bob Weinand

Merge branch 'PHP-7.1' into PHP-7.2


# f8ff4c49 12-Oct-2017 Bob Weinand

Merge branch 'PHP-7.0' into PHP-7.1


# a55af1e2 12-Oct-2017 Bob Weinand

Fixed bug #75363 (openssl_x509_parse leaks memory)

Revision tags: php-7.1.11RC1, php-7.2.0RC4, php-7.0.25RC1, php-7.1.10, php-7.2.0RC3, php-7.0.24, php-7.2.0RC2, php-7.1.10RC1, php-7.0.24RC1, php-7.1.9, php-7.2.0RC1, php-7.0.23
# 1f843a8f 28-Aug-2017 Jakub Zelenka

Automatically load OpenSSL configuration file

# 58df6a3b 28-Aug-2017 Jakub Zelenka

Do not explicitly initialize and clean up OpenSSL for OpenSSL 1.1

Revision tags: php-7.1.9RC1, php-7.2.0beta3, php-7.0.23RC1, php-7.1.8, php-7.2.0beta2, php-7.0.22
# e2b61ecc 24-Jul-2017 Anatol Belski

Followup on 0ec147d3 for another place

which requires also to move the macros into the header

(cherry picked from commit b7eb2c060409a8f5809d6e73f53d88844cf9ed09)

# 6918a68d 24-Jul-2017 Anatol Belski

Ensure binary mode for OpenSSL I/O

Essential for OpenSSL 1.1.0 on Windows, some issues was revealed earlier
and now by openssl_pkcs12_export_to_file_basic.phpt.

(cherry picked f

Ensure binary mode for OpenSSL I/O

Essential for OpenSSL 1.1.0 on Windows, some issues was revealed earlier
and now by openssl_pkcs12_export_to_file_basic.phpt.

(cherry picked from commit 0ec147d301b33b2cb0f347c6e81eb7e75e75b521)

show more ...

# b7eb2c06 24-Jul-2017 Anatol Belski

Followup on 0ec147d3 for another place

which requires also to move the macros into the header

# 0ec147d3 24-Jul-2017 Anatol Belski

Ensure binary mode for OpenSSL I/O

Essential for OpenSSL 1.1.0 on Windows, some issues was revealed earlier
and now by openssl_pkcs12_export_to_file_basic.phpt.

Revision tags: php-7.1.8RC1, php-7.2.0beta1, php-7.0.22RC1
# 90ae2aec 16-Jul-2017 Jakub Zelenka

Make functions in openssl.c more consistent

Improve naming, CS and add some static defs

Revision tags: php-5.6.31, php-7.0.21
# d75dbb0e 05-Jul-2017 Stanislav Malyshev

Merge branch 'PHP-7.1'

* PHP-7.1:
Improve fix for #74145
Fix wddx
Fix tests
Fixed bug #74111
Fix bug #74603 - use correct buffer size
Fix bug #74651 - che

Merge branch 'PHP-7.1'

* PHP-7.1:
Improve fix for #74145
Fix wddx
Fix tests
Fixed bug #74111
Fix bug #74603 - use correct buffer size
Fix bug #74651 - check EVP_SealInit as it can return -1
Update NEWS
Fix bug #74087
Fixed parsing of strange formats with mixed month/day and time strings
Fix bug #74145 - wddx parsing empty boolean tag leads to SIGSEGV
Fixed bug #74111
Fix #74435: Buffer over-read into uninitialized memory
Fix bug #74603 - use correct buffer size
Fix bug #74651 - check EVP_SealInit as it can return -1
Update NEWS
Fix bug #73807

show more ...


# 0ba04f77 05-Jul-2017 Stanislav Malyshev

Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
Improve fix for #74145
Fix wddx
Fix tests
Fixed bug #74111
Fix bug #74603 - use correct buffer size
Fix bug

Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
Improve fix for #74145
Fix wddx
Fix tests
Fixed bug #74111
Fix bug #74603 - use correct buffer size
Fix bug #74651 - check EVP_SealInit as it can return -1
Update NEWS
Fix bug #74087
Fixed parsing of strange formats with mixed month/day and time strings
Fix bug #74145 - wddx parsing empty boolean tag leads to SIGSEGV
Fixed bug #74111
Fix #74435: Buffer over-read into uninitialized memory
Fix bug #74603 - use correct buffer size
Fix bug #74651 - check EVP_SealInit as it can return -1
Update NEWS
Fix bug #73807

show more ...


Revision tags: php-7.1.7, php-7.2.0alpha3, php-7.1.7RC1, php-7.0.21RC1, php-7.2.0alpha2
# 73cabfed 20-Jun-2017 Stanislav Malyshev

Fix bug #74651 - check EVP_SealInit as it can return -1

# e657f0d3 25-Jun-2017 Jakub Zelenka

Merge branch 'PHP-7.1'


# 0c707fcb 25-Jun-2017 Jakub Zelenka

Add OPENSSL_DONT_ZERO_PAD_KEY constant to prevent key padding

It fixes bug #71917 (openssl_open() returns junk on envelope < 16 bytes)
and bug #72362 (OpenSSL Blowfish encryption is inco

Add OPENSSL_DONT_ZERO_PAD_KEY constant to prevent key padding

It fixes bug #71917 (openssl_open() returns junk on envelope < 16 bytes)
and bug #72362 (OpenSSL Blowfish encryption is incorrect for short
keys).

show more ...

# d7b9eb98 23-Jun-2017 Anatol Belski

Merge branch 'PHP-7.1'

* PHP-7.1:
Fix bug #74798 pkcs7_en/decrypt does not work if \x0a is used in content


# b7143090 23-Jun-2017 Anatol Belski

Fix bug #74798 pkcs7_en/decrypt does not work if \x0a is used in content

The patch for bug #74720 was incomplete.

Revision tags: php-7.1.6, php-7.2.0alpha1, php-7.0.20
# 787a18a5 30-May-2017 Jelle van der Waa

Add openssl_pkcs7_read and output P7B in openssl_pkcs7_verify

Add an optional argument to openssl_pkcs7_verify to save the P7B
structure which can contain extra CA intermediate certifica

Add openssl_pkcs7_read and output P7B in openssl_pkcs7_verify

Add an optional argument to openssl_pkcs7_verify to save the P7B
structure which can contain extra CA intermediate certificates send
along with an S/MIME signed email.

Introduce a new function called openssl_pkcs7_read, which can read a
PKCS#7 structure passed as a string and returns by reference an array
with PEM certificates formatted as a string.

show more ...

12345678910>>...37