ikev1: Fix calculation of the number of fragments
authorTobias Brunner <tobias@strongswan.org>
Thu, 15 Aug 2013 13:15:34 +0000 (15:15 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 15 Aug 2013 13:15:34 +0000 (15:15 +0200)
commitf853e7bcc03be4cde89a7f61fb9c243748d558d7
treed0235d1f4f84a82ea9b282cf47a48892a3c29e16
parentc81a6ff9070220ec97754a1334c384c3ddf5ce92
ikev1: Fix calculation of the number of fragments

The old code resulted in too few fragments in some cases.
src/libcharon/sa/ikev1/task_manager_v1.c