Commit Graph

132 Commits

Author SHA1 Message Date
Pierre Joye
45420bb669 - remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ, missing tests changes in 5.4 2011-07-22 11:56:20 +00:00
Felipe Pena
32b5f8a1a3 - Added new parameter parsing option (p - for valid path (string without null byte in the middle))
# The tests will be fixed in the next commits
2011-06-06 21:28:16 +00:00
Felipe Pena
0203cc3d44 - Year++ 2011-01-01 02:17:06 +00:00
Pierre Joye
a7ffa09e18 - add PHP_INSTALL_HEADERS to all parts (core&exts) exposing headers, generate the install-headers cmd 2010-12-11 22:18:10 +00:00
Ilia Alshanetsky
50e6d20d3c Fixed bug #51003 (unaligned memory access in ext/hash/hash_tiger.c). 2010-11-22 13:12:28 +00:00
Adam Harvey
18096f4b68 Implemented FR #53213 (Adler32 algorithm is very slow). Patch by zavasek at
yandex dot ru.
2010-11-08 09:35:33 +00:00
Kalle Sommer Nielsen
466c0b88d7 Fixed signedness compiler warning 2010-09-23 03:33:36 +00:00
Kalle Sommer Nielsen
aeb1dc7cc4 Fixed bug #51943 (Several files are out of ANSI spec)
# Based on patch by CoreyStup at gmail dot com
2010-07-13 23:59:54 +00:00
Felipe Pena
e66279a55e - Fixed bug #52240 (hash_copy() does not copy the HMAC key, causes wrong results and PHP crashes) 2010-07-03 13:06:14 +00:00
Kalle Sommer Nielsen
dd8e59da8f Removed safe_mode
* Removed ini options, safe_mode*
 * Removed --enable-safe-mode --with-exec-dir configure options on Unix
 * Updated extensions, SAPI's and core
 * php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Stanislav Malyshev
129019b9fc fix 64-bit integer overflow in mhash_keygen_s2k 2010-04-20 00:45:07 +00:00
Martin Jansen
71ec12cc78 JOAAT hashing now supports incremental hashing. 2010-03-28 10:01:02 +00:00
Martin Jansen
2bc269d375 Fixed test for the recently added algorithmus and made it more
debuggable by adding the names of the algorithmus to the output.
2010-03-25 16:05:27 +00:00
Rob Richards
7bfd44f79c fix build - there are now 34 algos 2010-03-25 15:10:49 +00:00
Pierre Joye
3054f00621 - init hval 2010-03-25 10:00:31 +00:00
Martin Jansen
0a852eab93 Added FNV and Jenkins's one-at-a-time support to the Windows build. 2010-03-24 16:30:37 +00:00
Martin Jansen
3842a993fe Added Jenkins's one-at-a-time hash support to ext/hash. 2010-03-24 15:47:40 +00:00
Michael Maclean
e4e9eaef4c Minor fix to constants registered in ext/hash, and update NEWS 2010-03-23 23:39:09 +00:00
Michael Maclean
d05ce25746 Add FNV-1 support to ext/hash 2010-03-23 22:21:39 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Garrett Serack
6cec8d8ed3 - Fix for bug #49223 Inconsistency using get_defined_constants(true) 2009-08-17 21:28:22 +00:00
Scott MacVicar
27a1ce801c MFH Fix bug #48284 - adler32 is in the wrong order. Changed to match what zlib produces. 2009-06-30 13:21:53 +00:00
Scott MacVicar
cbc9e850b9 Add missing prototypes for mhash, no code changes. 2009-05-04 16:37:31 +00:00
andy wharmby
c41cc6aaed New hash extension tests. Tested on Windows, Linux and Linux 64-bit 2009-01-07 14:32:46 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Felipe Pena
4cf4b5bf44 - MFH: Fix test 2008-12-27 01:05:07 +00:00
Scott MacVicar
6267a33aba MFH Enable salsa hashing algorithm 2008-12-25 13:35:05 +00:00
Pierre Joye
ea5dd34c77 - MFH: fix build 2008-11-27 21:58:38 +00:00
Scott MacVicar
9c11d5e138 MFH Move mhash extension registration code into the hash module startup. This allows extension_loaded('mhash'); to work. 2008-11-27 21:11:55 +00:00
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +00:00
Felipe Pena
c0611c10ef - Fixed condition 2008-10-26 23:34:13 +00:00
Felipe Pena
df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +00:00
Antony Dovgal
eaec817e1b update tests 2008-09-18 12:16:15 +00:00
Scott MacVicar
d875c9f889 MFH: mhash algorithm parameter was modified when it was a zval, also update a test. 2008-09-18 11:59:13 +00:00
Arnaud Le Blanc
dd956381e2 MFH: Fixed #45911 (Cannot disable ext/hash) 2008-09-07 13:15:59 +00:00
Antony Dovgal
523cccc09d MFH: fix bug #45028 (CRC32 output endianness is different between crc32() and hash()) 2008-08-18 14:29:55 +00:00
Antony Dovgal
69b3e17faa MFH 2008-07-21 07:27:13 +00:00
Scott MacVicar
a164217bf2 Fix break caused by previous commit, warning and remove zend_get_parameters() 2008-07-05 00:28:16 +00:00
Pierre Joye
581c48c2a0 - fix compile error with vc6 (snaps) 2008-07-04 21:00:16 +00:00
Antony Dovgal
7838408b4b more int -> long fixes 2008-07-01 07:41:38 +00:00
Scott MacVicar
e710fab855 MFH: Sort Windows changes for mhash BC layer 2008-06-28 15:31:50 +00:00
Scott MacVicar
cc7e8970de Make the old mhash API a wrapper around hash, this removes a dependency. 2008-06-26 22:33:16 +00:00
Raghubansh Kumar
24f01f7ab0 New testcases for hash_file(), Committed for Felix De Vliegher, TestFest Task No: 75 & 76, Tested on RHEL5 -32bit, WinXP-32bit 2008-06-24 15:44:50 +00:00
Antony Dovgal
2ac1ba6254 fix tests 2008-06-04 07:38:10 +00:00
Scott MacVicar
2b60fdf976 Add snefru256 as an alias for snefru, since in reality that is the implementation. 2008-06-03 17:25:42 +00:00
Scott MacVicar
d06e683922 Correct test name 2008-06-02 14:14:26 +00:00
Scott MacVicar
b83fbba9f3 Add sha224 support. 2008-06-02 12:24:23 +00:00
Antony Dovgal
7c98e674b5 [DOC] add hash_copy() to be able to copy hash resource 2008-04-21 15:37:46 +00:00
Ilia Alshanetsky
683aa8d1cc Hash extension is no longer experimental 2008-04-16 21:53:41 +00:00
Antony Dovgal
6157fc7681 MFH: fix folding 2008-04-04 07:47:58 +00:00
Dmitry Stogov
3ea9c13c4b Improved md5() implementation (Solar Designer) 2008-02-08 09:11:17 +00:00
Dmitry Stogov
240fa244c3 Improved PHP binary size and startup speed with GCC4 visibility control (Nuno) 2008-01-30 09:41:12 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Antony Dovgal
2198abb1c4 MFH: detect endianness in compile time when using Apple's GCC (fixes universal binary build) 2007-09-04 18:46:21 +00:00
foobar
7ed3c4536d MFH: Fix some configure --help texts 2007-07-03 17:25:43 +00:00
Ilia Alshanetsky
efad70c2cc snprintf() -> slprintf() 2007-02-27 03:28:17 +00:00
Nuno Lopes
ec66c5be3d make the hash_ops structures const and save some memory
# ram memory is so expensive these days...
2007-01-08 22:29:25 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Sara Golemon
2eb308ff75 Backport md2, ripemd256, and ripemd320 algos from HEAD 2006-11-15 20:06:09 +00:00
Ilia Alshanetsky
0de5728c82 cleanup of the phpinfo() output. 2006-07-28 14:27:03 +00:00
Hannes Magnusson
aae5df3ffd MFH: arg ifno 2006-06-17 13:06:06 +00:00
Michael Wallner
bea595aef9 - nuke compiler warnings 2006-05-19 14:19:27 +00:00
Michael Wallner
1c02dff74a - Fixed bug #37192 (cc fails on hash_adler.c:32) 2006-04-25 08:34:25 +00:00
Edin Kadribasic
a1024ce679 Sync with source distro, enable hash by default 2006-03-03 14:34:34 +00:00
Michael Wallner
4b23428d9d - fix tiger on big endian platforms 2006-02-19 23:39:53 +00:00
Antony Dovgal
694042e527 MFH: fix #36038 (ext/hash compile failure on Mac OSX) 2006-01-16 23:04:23 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
Michael Wallner
90bdbfa921 - release 1.1 2005-12-07 19:53:34 +00:00
Michael Wallner
24d824d4e8 - fix PECL bug #6283 - haval source file entries are missing in package.xml 2005-12-07 18:41:14 +00:00
Sara Golemon
5fd5bead8a Prep for release 2005-12-06 17:54:24 +00:00
foobar
3e669bc950 MFH: nuke php3 legacy 2005-12-06 02:28:41 +00:00
Antony Dovgal
3f666e1dfe MFH: add declarations
more uint -> size_t fixes
2005-12-03 23:50:33 +00:00
Antony Dovgal
bb6aa3ebd3 fix #35538 (new "hash" extensions does not compile on amd64) 2005-12-03 23:31:14 +00:00
Michael Wallner
3cfdbdbd12 - add adler32 test 2005-12-03 10:31:01 +00:00
Michael Wallner
c6fb5f38c0 MFH: fix ws 2005-12-03 10:25:31 +00:00
Michael Wallner
7d8d573f0d - add test to package.xml 2005-12-03 10:19:50 +00:00
Michael Wallner
f5fae65194 MFH: add crc32 test 2005-12-03 10:18:38 +00:00
Sara Golemon
860c3a5a32 MFH: Add MD4 2005-12-03 01:17:48 +00:00
Ilia Alshanetsky
2fae8d37c0 Enable hash & xmlwriter by default 2005-12-02 02:18:54 +00:00
Ilia Alshanetsky
950de07889 Added hash extension to PHP 5.1 2005-12-02 01:59:48 +00:00