summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--ext/hash/hash.c4
2 files changed, 3 insertions, 2 deletions
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