]> granicus.if.org Git - php/commitdiff
Minor fix to constants registered in ext/hash, and update NEWS
authorMichael Maclean <mgdm@php.net>
Tue, 23 Mar 2010 23:39:09 +0000 (23:39 +0000)
committerMichael Maclean <mgdm@php.net>
Tue, 23 Mar 2010 23:39:09 +0000 (23:39 +0000)
NEWS
ext/hash/hash.c

diff --git a/NEWS b/NEWS
index e53a63ac851b82324daa3ed1013b4a6c24c88805..7bf8c646c9f8e504e8cf0e17ddf7ce95c5ba9cd6 100644 (file)
--- 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
index 75acc8159978879ef95510abcd45f9221462fc21..8a81faf4adce6bb609c65a71db600d0f446394b0 100644 (file)
@@ -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