Refactor order of checks when handling IKEv2 message fragments.
authortobhe <tobhe@openbsd.org>
Fri, 12 Nov 2021 14:18:54 +0000 (14:18 +0000)
committertobhe <tobhe@openbsd.org>
Fri, 12 Nov 2021 14:18:54 +0000 (14:18 +0000)
commitb0cc51058c8e5609a47ff3b17c48c8d495a8643f
tree4473392aaedd9abb8811ddcbe69b02e2dc163dde
parenta8044ef3b35675783ab836e24b5a7e575155b77a
Refactor order of checks when handling IKEv2 message fragments.
Only modify SA after sucessful ikev2_msg_decrypt().

ok patrick@
sbin/iked/ikev2_pld.c