aboutsummaryrefslogtreecommitdiffstats
path: root/src/libhydra/attributes/mem_pool.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2014-10-22 19:41:40 +0200
committerTobias Brunner <tobias@strongswan.org>2014-10-23 11:13:28 +0200
commiteb218ff80b8f6b88ed74249a9c6fecb860454110 (patch)
treec750511ff5614dc11b4de8e5b2347912b0437dc1 /src/libhydra/attributes/mem_pool.c
parent4736ba06578f860a85e84cec1c79fb126793307e (diff)
downloadstrongswan-eb218ff80b8f6b88ed74249a9c6fecb860454110.tar.bz2
strongswan-eb218ff80b8f6b88ed74249a9c6fecb860454110.tar.xz
chunk: Fix internet checksum calculation on big-endian systems
ntohs() might be defined as noop (#define ntohs(x) (x)) so we have to manually shorten the negated value (gets promoted to an int). Fixes #747.
Diffstat (limited to 'src/libhydra/attributes/mem_pool.c')
0 files changed, 0 insertions, 0 deletions