diff options
| author | Michael Maclean <mgdm@php.net> | 2010-03-23 23:39:09 +0000 |
|---|---|---|
| committer | Michael Maclean <mgdm@php.net> | 2010-03-23 23:39:09 +0000 |
| commit | e4e9eaef4c407c3617925a941ab16db8029a7df1 (patch) | |
| tree | 71f71ee6694446d9020616da3b77a650c98cf51d | |
| parent | d05ce2574605ced3ef8a15ca15eb6f4ac536f745 (diff) | |
| download | php-git-e4e9eaef4c407c3617925a941ab16db8029a7df1.tar.gz | |
Minor fix to constants registered in ext/hash, and update NEWS
| -rw-r--r-- | NEWS | 1 | ||||
| -rw-r--r-- | ext/hash/hash.c | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -1,6 +1,7 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? 201?, PHP 5.3.99 +- Added FNV-1 hash support to ext/hash. (Michael Maclean) - default_charset if not specified is now UTF-8 instead of ISO-8859-1. (Rasmus) ?? ??? 20??, PHP 5.3.3 diff --git a/ext/hash/hash.c b/ext/hash/hash.c index 75acc81599..8a81faf4ad 100644 --- a/ext/hash/hash.c +++ b/ext/hash/hash.c @@ -76,9 +76,9 @@ static struct mhash_bc_entry mhash_to_hash[MHASH_NUM_ALGOS] = { {"SNEFRU256", "snefru256", 27}, {"MD2", "md2", 28}, {"FNV132", "fnv132", 29}, - {"FNV1a32", "fnv1a32", 30}, + {"FNV1A32", "fnv1a32", 30}, {"FNV164", "fnv164", 31}, - {"FNV1a64", "fnv1a64", 32}, + {"FNV1A64", "fnv1a64", 32}, }; #endif |
