chiark / gitweb /
shared: make sure foo.bar and foobar result in different domain name hashes
authorLennart Poettering <lennart@poettering.net>
Fri, 8 Jan 2016 00:11:55 +0000 (01:11 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 17 May 2017 13:22:15 +0000 (15:22 +0200)
commitd0774825d606da65eef44ebdd3d8753907951896
tree62b79e05788c1f315edc686a2a0705d7c5b59ebe
parentf7e8917981217e60a6b6071c2a1ae6367890eea0
shared: make sure foo.bar and foobar result in different domain name hashes

This also introduces a new macro siphash24_compress_byte() which is useful to add a single byte into the hash stream,
and ports one user over to it.
src/basic/siphash24.h