History log of /php-src/ext/openssl/openssl.c (Results 226 – 250 of 935)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 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 ...

# 9dada7b2 16-Jun-2017 Jakub Zelenka

Merge branch 'PHP-7.1'


# c2a348b5 16-Jun-2017 Jakub Zelenka

Merge branch 'PHP-7.0' into PHP-7.1


# f19dfac8 06-Jun-2017 Jelle van der Waa

openssl: Fix spkstr and spki leak in openssl_spki_new

spkstr is not free'd when running the test and valgrind reports a leak
of 32,318 bytes. The free condition is not met since keyresou

openssl: Fix spkstr and spki leak in openssl_spki_new

spkstr is not free'd when running the test and valgrind reports a leak
of 32,318 bytes. The free condition is not met since keyresource is not
NULL, apart from that OPENSSL_free actually free's the allocated memory
by OPENSSL_malloc inside OpenSSL.

Valgrind reports 768 bytes leaked in openssl_spki_new when running the
testsuite. Remove the keyresource check to always free spki.

show more ...

# b50fe893 09-Jun-2017 Anatol Belski

Merge branch 'PHP-7.1'


# 0fa40b05 09-Jun-2017 Anatol Belski

group the change for bug #74720

# 587b8008 09-Jun-2017 Anatol Belski

Merge branch 'PHP-7.1'

* PHP-7.1:
Fixed bug #74720 pkcs7_en/decrypt does not work if \x1a is used in


# cbe73b3c 09-Jun-2017 Anatol Belski

Fixed bug #74720 pkcs7_en/decrypt does not work if \x1a is used in

content

# 8baf12b1 04-Jun-2017 Jakub Zelenka

Merge branch 'PHP-7.1'


# ff93f74f 04-Jun-2017 Jakub Zelenka

Merge branch 'PHP-7.0' into PHP-7.1


# 37049476 04-Jun-2017 Jakub Zelenka

Replace ASN1_STRING_data with ASN1_STRING_get0_data

This is a slightly modified version of the patch from Jelle van der Waa
( @jelly ) so full credit to him.

# c28406f6 02-Jun-2017 Nikita Popov

Merge branch 'PHP-7.1'


# c742abb3 30-May-2017 Jelle van der Waa

openssl_pkcs12_read: add missing BIO_free

When filling the extracerts array with certificates bio_out is created
but not free'd leading to a small memory leak of 224 bytes (reported by

openssl_pkcs12_read: add missing BIO_free

When filling the extracerts array with certificates bio_out is created
but not free'd leading to a small memory leak of 224 bytes (reported by
valgrind).

show more ...

Revision tags: php-7.1.6RC1, php-7.0.20RC1
# f8f8f240 18-May-2017 Anatol Belski

Merge branch 'PHP-7.1'

* PHP-7.1:
follow up fix on bug #74022


# 26f217bf 18-May-2017 Anatol Belski

Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
follow up fix on bug #74022


# 464c1639 18-May-2017 Anatol Belski

follow up fix on bug #74022

Revision tags: php-7.1.5, php-7.0.19
# dccf487b 30-Apr-2017 Jakub Zelenka

Merge branch 'PHP-7.1'


# 6028fe51 30-Apr-2017 Jakub Zelenka

Fix bug #73808 (iv length warning too restrictive for aes-128-ccm)

# a0b9554f 27-Apr-2017 Jakub Zelenka

Fix possible memory leak in openssl_encrypt and openssl_decrypt

Revision tags: php-7.0.19RC1, php-7.1.5RC1, php-7.1.4, php-7.0.18, php-7.1.4RC1, php-7.0.18RC1, php-7.1.3, php-7.0.17, php-7.1.3RC1, php-7.0.17RC1, php-7.1.2, php-7.0.16, php-7.0.16RC1, php-7.1.2RC1, php-5.6.30, php-7.0.15, php-5.6.30RC1, php-7.1.1RC1, php-7.0.15RC1, php-7.1.1, php-5.6.29, php-7.0.14, php-7.1.0, php-5.6.29RC1, php-7.0.14RC1, php-7.1.0RC6, php-5.6.28, php-7.0.13, php-5.6.28RC1, php-7.1.0RC5, php-7.0.13RC1, php-7.1.0RC4, php-5.6.27, php-7.0.12, php-7.1.0RC3, php-5.6.27RC1, php-7.0.12RC1, php-5.6.26, php-7.1.0RC2, php-7.0.11, php-5.6.26RC1, php-7.1.0RC1, php-7.0.11RC1, php-7.1.0beta3, php-5.6.25, php-7.0.10, php-7.1.0beta2, php-5.6.25RC1
# c0203c0c 03-Aug-2016 Jakub Zelenka

Do not add already added object to the internal OpenSSL table

This fixes OpenSSL 1.1 where adding object with OID that has been
already added causes an error - preventing of duplication.

# 2e727b9b 24-Apr-2017 Jakub Zelenka

Merge branch 'PHP-7.1'


# 7260f65c 24-Apr-2017 Jakub Zelenka

Merge branch 'PHP-7.0' into PHP-7.1


12345678910>>...38