aboutsummaryrefslogtreecommitdiffstats
path: root/src/libimcv/plugins/imv_test/imv_test_state.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2014-01-06 17:31:07 +0100
committerTobias Brunner <tobias@strongswan.org>2014-01-06 17:31:07 +0100
commitd62a6ec3f9949d79bb634a5da030361d6681d531 (patch)
treec154fda96f4d81e5a213b2fe989fecf31bef59bf /src/libimcv/plugins/imv_test/imv_test_state.c
parent13f2d3a2f637fc5277fc0752392f56d1af7a1ccb (diff)
downloadstrongswan-d62a6ec3f9949d79bb634a5da030361d6681d531.tar.bz2
strongswan-d62a6ec3f9949d79bb634a5da030361d6681d531.tar.xz
chunk: Fix chunk_mac/hash tests on big-endian systems
Our SipHash-2-4 implementation returns the result in host order, while the test vectors are little-endian. Use a custom comparison function to account for this. Fixes #478.
Diffstat (limited to 'src/libimcv/plugins/imv_test/imv_test_state.c')
0 files changed, 0 insertions, 0 deletions