diff options
author | Stef Walter <stefw@gnome.org> | 2013-03-20 09:33:04 +0100 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2013-03-20 10:54:00 +0100 |
commit | f45942a4fc3e1c5219e9b5201b82203337ee7280 (patch) | |
tree | f83313676d1c8de9dbc48d161e16c13264bc8049 /tools/tests/test.h | |
parent | 1dc227b4fce16fcc721276925492f4ba4db00b4f (diff) |
hash: Add the murmur2 hash and start using it
Add implementation of the murmur2 hash function, and start using
it for our dictionaries. Our implementation is incremental
like our other hash functions.
Also remove p11_oid_hash() which wasn't being used.
In addition fix several tests whose success was based on the
way that the dictionary hashed. This was a hidden testing bug.
Diffstat (limited to 'tools/tests/test.h')
-rw-r--r-- | tools/tests/test.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/tests/test.h b/tools/tests/test.h index 82b8b2c..de2bdc1 100644 --- a/tools/tests/test.h +++ b/tools/tests/test.h @@ -193,9 +193,8 @@ static const char test_eku_server_and_client[] = { 0x01, 0x05, 0x05, 0x07, 0x03, 0x02, }; -static const char test_eku_client_and_server[] = { - 0x30, 0x14, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x02, 0x06, 0x08, 0x2b, 0x06, - 0x01, 0x05, 0x05, 0x07, 0x03, 0x01, +static const char test_eku_server[] = { + 0x30, 0x0a, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x01, }; static const char test_eku_email[] = { |