diff options
-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 |