History log of /PHP-7.2/ext/openssl/openssl.c (Results 201 – 225 of 599)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 4a2e40bb 30-Jun-2015 Dmitry Stogov

Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).


# 2ff3dafc 25-Jun-2015 Tjerk Meesters

Fixed #69882: OpenSSL error "key values mismatch" after openssl_pkcs12_read with extra certs

Squashed commit of the following:

commit a64c1d9bc4c129fd946a478bdcb55101e42157b7
Au

Fixed #69882: OpenSSL error "key values mismatch" after openssl_pkcs12_read with extra certs

Squashed commit of the following:

commit a64c1d9bc4c129fd946a478bdcb55101e42157b7
Author: Tomasz Sawicki <falundir@gmail.com>
Date: Wed Jun 24 08:49:37 2015 +0200

Fix #69882: OpenSSL error "key values mismatch" after openssl_pkcs12_read with extra certs

The "key values mismatch" error is triggered in openssl_pkcs12_read by
PKCS12_parse, because it uses X509_check_private_key to separate main
certificate (which corresponds to private key) from extra certificates.
Extra certificates usually comes first (p12 contents are reversed as
stack) and X509_check_private_key triggers X509_R_KEY_VALUES_MISMATCH
error.
The fix pops "key values mismatch" error from OpenSSL error stack for
each extra certificate if there are any.

show more ...


# 5d3cf577 11-Jun-2015 Nikita Popov

Make convert_to_* safe with rc>1

This only involves switching zval_dtor to zval_ptr_dtor for arrays
and making the convert_to_object for arrays a bit more generic.

All the other

Make convert_to_* safe with rc>1

This only involves switching zval_dtor to zval_ptr_dtor for arrays
and making the convert_to_object for arrays a bit more generic.

All the other changes outside zend_operators.c just make use of
this new ability (use COPY instead of DUP).

What's still missing: Proper references handling. I've seen many
convert_to* calls that will break when a reference is used.

Also fixes bug #69788.

show more ...


# 0c7634fc 20-May-2015 Radu Brănișcan

Corrected line comment 5256

From the text "dectupt" to "decrypt"


# c93a3606 09-May-2015 Anatol Belski

fix _timezone usage for vc14


# 321bafcc 28-Mar-2015 Eric F

Update openssl.c

Adding additional checks for sslv3.


# 456f4a78 27-Mar-2015 Leigh

Add RAND_egd check for compiling against LibreSSL


# 1b2d58a3 27-Mar-2015 Leigh

Add RAND_egd check for compiling against LibreSSL


# 19360f38 23-Mar-2015 Anatol Belski

cleanup mod version macros, round 3


# 86336856 12-Mar-2015 Dmitry Stogov

Use specialized macro for string zval creation


# 0928bad9 06-Mar-2015 Daniel Lowrey

Fixed bug #69197 (openssl_pkcs7_sign handles default value incorrectly)


# e892f538 05-Mar-2015 Daniel Lowrey

Fix ZTS build


# 94140afa 05-Mar-2015 Daniel Lowrey

Fix bug #67403 (Add signatureType to openssl_x509_parse)


# a39b1898 28-Feb-2015 Daniel Lowrey

Misc updates/cleanup


# 3ff36c26 28-Feb-2015 Daniel Lowrey

Update for OpenSSL 1.0.2 compatibility


# 0676f39e 17-Feb-2015 Jakub Zelenka

Remove unnecessary resource checks in openssl ext

The resource val is already checking Z_TYPE_P(val) == IS_RESOURCE.
There is no need to call extended resource fetch functions though.


# 83099881 16-Feb-2015 Xinchen Hui

Fixed bug #68912 (Segmentation fault at openssl_spki_new)


# e98caf27 02-Feb-2015 Xinchen Hui

found type is unnecessary


# 94280990 02-Feb-2015 Xinchen Hui

Cleanup resource handling APIs


# 085907d1 30-Jan-2015 Anatol Belski

fix datatype mismatches, improved error checks


# 3acdbaeb 30-Jan-2015 Anatol Belski

fix datatype mismatch warns, improve error check


# 39761507 30-Jan-2015 Anatol Belski

make the cleanup function as static, as it's not exported


# f6330f99 30-Jan-2015 Anatol Belski

fix datatype mismatches, add stronger error checks


# 55936775 30-Jan-2015 Anatol Belski

fix datatype mismatches, improve error checks


# 4d169374 28-Jan-2015 Anatol Belski

fix unportable dereferencing


12345678910>>...24