summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authortobhe <tobhe@cvs.openbsd.org>2019-11-15 13:55:14 +0000
committertobhe <tobhe@cvs.openbsd.org>2019-11-15 13:55:14 +0000
commit15d0ea1920dccd1bc053bd73bd8944f152db4caf (patch)
treec8fa17803848c48a2d9cdf042e222de7f24ae379 /lib
parent066d426b1d87c941aeca5705fa0962154ea8ac14 (diff)
Fix error handling in ikev2_msg_send.
Check sa is not NULL before using it. Use sa consistently instead of mixing sa and msg->msg_sa. In the error case, if sa is not NULL, save the message for retransmission and return 0 instead of -1. ok mikeb@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions