diff options
author | Tobias Brunner <tobias@strongswan.org> | 2014-10-22 19:41:40 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2014-10-23 11:13:28 +0200 |
commit | eb218ff80b8f6b88ed74249a9c6fecb860454110 (patch) | |
tree | c750511ff5614dc11b4de8e5b2347912b0437dc1 /src/libhydra/attributes/mem_pool.c | |
parent | 4736ba06578f860a85e84cec1c79fb126793307e (diff) | |
download | strongswan-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