From: Michael Maclean Date: Tue, 23 Mar 2010 23:39:09 +0000 (+0000) Subject: Minor fix to constants registered in ext/hash, and update NEWS X-Git-Tag: php-5.4.0alpha1~191^2~1856 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e4e9eaef4c407c3617925a941ab16db8029a7df1;p=php Minor fix to constants registered in ext/hash, and update NEWS --- diff --git a/NEWS b/NEWS index e53a63ac85..7bf8c646c9 100644 --- a/NEWS +++ b/NEWS @@ -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