]> git.ipfire.org Git - thirdparty/systemd.git/commit
siphash42: add tests with unaligned input pointers 1919/head
authorMartin Pitt <martin.pitt@ubuntu.com>
Mon, 16 Nov 2015 15:24:56 +0000 (16:24 +0100)
committerMartin Pitt <martin.pitt@ubuntu.com>
Mon, 16 Nov 2015 15:24:56 +0000 (16:24 +0100)
commit69b98e71b4e5a915d59ea814386cf1c8e2a0e297
treeb52de0d0538b8edb2a53ed2e370f8613abdd19ae
parentf5ed8d4a51b7f168eba9114a7cf4c2a3132cafff
siphash42: add tests with unaligned input pointers

Add test case for calling siphash24 with unaligned input pointers, as we
commonly get with calling it on the result on basename() or similar.

This provides a test for PR #1916, rescued from the superseded PR #1911.

Thanks to Steve Langasek for the test!
src/test/test-siphash24.c