summaryrefslogtreecommitdiff
path: root/common/attrs.c
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2013-04-02 16:33:24 +0200
committerStef Walter <stefw@gnome.org>2013-04-03 15:48:29 +0200
commit032fbd8806333bdaf0201cfd9d7bcaac8ec75184 (patch)
tree34030297398a803bb760252a8896334085e188d9 /common/attrs.c
parent8c69e467527c5ee484c9a921e9b5fd18c0c49b12 (diff)
Update to MurmurHash3
This should also fix problems with accessing memory in a non-aligned fashion on platforms where this causes problems. https://bugs.freedesktop.org/show_bug.cgi?id=62819
Diffstat (limited to 'common/attrs.c')
-rw-r--r--common/attrs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/attrs.c b/common/attrs.c
index e656189..c1e060a 100644
--- a/common/attrs.c
+++ b/common/attrs.c
@@ -505,7 +505,7 @@ p11_attr_hash (const void *data)
const CK_ATTRIBUTE *attr = data;
uint32_t hash;
- p11_hash_murmur2 (&hash,
+ p11_hash_murmur3 (&hash,
&attr->type, sizeof (attr->type),
attr->pValue, (size_t)attr->ulValueLen,
NULL);