History log of /PHP-7.3/ext/standard/config.m4 (Results 26 – 50 of 170)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# bcfccdd9 11-Jul-2016 Charles R. Portwood II

Removing argon2 library files in favor of --with-argon2[=DIR]

- Configure flag now accepts --with-argon2 for dynamic linking with
libargon2. Argon2 will be enabled in password_* only i

Removing argon2 library files in favor of --with-argon2[=DIR]

- Configure flag now accepts --with-argon2 for dynamic linking with
libargon2. Argon2 will be enabled in password_* only if this
flag is passed.
- --with-argon2 config flag allows user passed directory for linking
- Added Argon2 specific tests to ensure existing tests do not fail
when argon2 is disable

show more ...


# c2551a74 09-Jul-2016 Charles R. Portwood II

Working implementation with password_hash, password_verify


# eba6e7ce 05-Jul-2016 Leigh

Split rand and mt_rand into separate files


# be7a50b9 25-Mar-2016 Nikita Popov

Move HAVE_ATTRIBUTE_ALIGNED check outside crypt block

This is checked outside the crypt() implementation as well.


# 786effaf 25-Mar-2016 Nikita Popov

Remove PHP_*_CRYPT constants

They are always 1.


# a142c274 25-Mar-2016 Nikita Popov

Ensure that all crypt() formats are supported

Checks for md5, sha512 and sha256 were missing.

As a result the PHP_*_CRYPT constants are always 1 now.


# 1c1e20d7 20-Mar-2016 Andrea Faulds

Deduplicate NAN/INF portability, move to Zend


# ccd215a5 03-Mar-2016 Anton Blanchard

Additional improvements to crypt() detection code

Reformat to normalize tabs vs spaces, return 1 if crypt.h not
defined, fix C99 compliance.


Revision tags: php-7.0.2RC1, php-5.6.17RC1, php-7.0.1RC1, php-7.0.0, php-5.6.16, php-7.0.0RC8, php-7.0.0RC7, php-5.6.16RC1
# 08fce8e2 09-Nov-2015 Michael Orlitzky

ext/standard/config.m4: fix crypt() test segfaults in >=glibc-2.17.

Starting with glibc-2.17, the crypt() function will report an EINVAL
and return NULL when the format of the "salt" par

ext/standard/config.m4: fix crypt() test segfaults in >=glibc-2.17.

Starting with glibc-2.17, the crypt() function will report an EINVAL
and return NULL when the format of the "salt" parameter is
invalid. The current tests for crypt() pass its result to strcmp(),
causing segfaults when the value returned from crypt() is NULL.

This commit modifies the test programs to exit with failure when
crypt() returns NULL.

Reference: https://bugs.gentoo.org/show_bug.cgi?id=518964

show more ...


# faf835be 30-Oct-2015 Leigh

Use arc4random on OpenBSD 5.5+ and NetBSD 7+

As discussed with @weltling, keeping arc4random on the condition that the OS has a solid implementation of it


Revision tags: php-5.6.15, php-7.0.0RC6
# a5351023 26-Oct-2015 Leigh

Remove arc4random

There has been a lot of discussion around whether arc4random should be included. Given how many different impementations of it are in the wild, we can't guarantee a secure

Remove arc4random

There has been a lot of discussion around whether arc4random should be included. Given how many different impementations of it are in the wild, we can't guarantee a secure implementation on all platforms.

show more ...


Revision tags: php-7.0.1, php-5.6.15RC1, php-7.0.0RC5, php-5.5.30, php-5.6.14, php-7.0.0RC4, php-5.6.14RC1, php-7.0.0RC3
# 6554f721 09-Sep-2015 Scott

Add support for getrandom(2), add type check on file descriptor

Fix to_read, throw exception if syscall fails

Fixes thanks to feedback from sarnold at ##crypto on freenode

Add support for getrandom(2), add type check on file descriptor

Fix to_read, throw exception if syscall fails

Fixes thanks to feedback from sarnold at ##crypto on freenode

Correction on error conditions

Remove dead code (thanks @defuse)

It turns out getrandom can take >256, getentropy refuses.

Better semantics

Thanks @defuse for catching my silly mistake here

Cast to size_t to be explicit

Let's simplify the logic a bit

Let's be consistent; define everything before we do any logic

Continuously check that the file descriptor is still a valid one

Add device type check on fd initialization

show more ...


Revision tags: php-5.6.13, php-7.0.0RC2, php-5.5.29, php-5.4.45, php-5.6.13RC1, php-7.0.0RC1, php-5.6.12, php-5.5.28, php-7.0.0beta3, php-5.4.44, php-5.6.12RC1, php-7.0.0beta2, php-7.0.0beta1, php-5.6.11, php-5.5.27, php-5.4.43, php-5.6.11RC1, php-5.5.27RC1, php-7.0.0alpha2, php-5.5.26, php-7.0.0alpha1, php-5.6.10, php-5.4.42, POST_PHP7_NSAPI_REMOVAL, PRE_PHP7_NSAPI_REMOVAL, php-5.6.10RC1, php-5.5.26RC1, php-5.5.25, php-5.6.9, php-5.4.41, php-5.6.9RC1, php-5.5.25RC1, php-5.6.8, php-5.5.24, php-5.4.40, php-5.6.8RC1, php-5.5.24RC1, php-5.6.7, php-5.5.23, php-5.4.39, php-5.6.7RC1, php-5.5.23RC1, POST_PHP7_EREG_MYSQL_REMOVALS, PRE_PHP7_EREG_MYSQL_REMOVALS
# 5f1b83e9 21-Feb-2015 Leigh

Improve CSPRNG implementation


Revision tags: php-5.6.6, php-5.5.22, php-5.4.38
# bc54d139 13-Feb-2015 SammyK

Initial implementation for CSPRNG API


# 8f9ab04d 17-Feb-2015 Felipe Pena

- Fixed bug #67827 (broken detection of system crypt sha256/sha512 support)


Revision tags: POST_PHP7_REMOVALS, PRE_PHP7_REMOVALS
# 4137956d 08-Feb-2015 Michael Wallner

fix detection of mbstate_t with clang

AC_TRY_COMPILE expexts a function body


# 3121116a 08-Feb-2015 Michael Wallner

fix detection of mbstate_t with clang

AC_TRY_COMPILE expexts a function body


Revision tags: php-5.6.6RC1, php-5.5.22RC1, php-5.5.21, php-5.6.5, php-5.4.37
# 4c6918ec 07-Jan-2015 Keyur Govande

Patch commit d9f85373e32 by moving the float_to_double function to
a header file.


Revision tags: php-5.5.21RC1, php-5.6.5RC1
# b34f8ef5 06-Jan-2015 Keyur Govande

Fix for bugs #68114 (Build fails on OS X due to undefined symbols)
and #68657 (Reading 4 byte floats with Mysqli and libmysqlclient
has rounding errors).

The patch removes support fo

Fix for bugs #68114 (Build fails on OS X due to undefined symbols)
and #68657 (Reading 4 byte floats with Mysqli and libmysqlclient
has rounding errors).

The patch removes support for Decimal floating point numbers and
now defaults to using similar logic as what libmysqlclient does:
convert a 4 byte floating point number into a string, and then the
string into a double. The quirks of MySQL are maintained as seen in
Field_Float::val_str()

show more ...


# 1933b556 07-Jan-2015 Keyur Govande

Patch commit d9f85373e32 by moving the float_to_double function to
a header file.


# e51980f4 06-Jan-2015 Keyur Govande

Fix for bugs #68114 (Build fails on OS X due to undefined symbols)
and #68657 (Reading 4 byte floats with Mysqli and libmysqlclient
has rounding errors).

The patch removes support fo

Fix for bugs #68114 (Build fails on OS X due to undefined symbols)
and #68657 (Reading 4 byte floats with Mysqli and libmysqlclient
has rounding errors).

The patch removes support for Decimal floating point numbers and
now defaults to using similar logic as what libmysqlclient does:
convert a 4 byte floating point number into a string, and then the
string into a double. The quirks of MySQL are maintained as seen in
Field_Float::val_str()

show more ...


# 3062cf1b 07-Jan-2015 Keyur Govande

Patch commit d9f85373e32 by moving the float_to_double function to
a header file.


# f2eadb93 06-Jan-2015 Keyur Govande

Fix for bugs #68114 (Build fails on OS X due to undefined symbols)
and #68657 (Reading 4 byte floats with Mysqli and libmysqlclient
has rounding errors).

The patch removes support fo

Fix for bugs #68114 (Build fails on OS X due to undefined symbols)
and #68657 (Reading 4 byte floats with Mysqli and libmysqlclient
has rounding errors).

The patch removes support for Decimal floating point numbers and
now defaults to using similar logic as what libmysqlclient does:
convert a 4 byte floating point number into a string, and then the
string into a double. The quirks of MySQL are maintained as seen in
Field_Float::val_str()

show more ...


Revision tags: POST_NATIVE_TLS_MERGE, PRE_NATIVE_TLS_MERGE, php-5.5.20, php-5.4.36, php-5.6.4, php-5.6.4RC1, php-5.5.20RC1, php-5.6.3, php-5.5.19, php-5.4.35, php-5.6.3RC1, php-5.5.19RC1, php-5.5.18, php-5.4.34
# b9463489 05-Oct-2014 Anatol Belski

enable static tsrm ls cache in ext/standard


Revision tags: php-5.5.18RC1, php-5.6.1, php-5.6.2, php-5.4.33, php-5.5.17, php-5.6.1RC1, php-5.5.17RC1, php-5.4.33RC1
# e206409a 29-Aug-2014 Anatol Belski

exclude log2 usage which requires C99 support


1234567