CVSROOT:        /cvs
Module name:    src
Changes by:     to...@cvs.openbsd.org   2019/11/15 06:55:13

Modified files:
        sbin/iked      : ikev2_msg.c 

Log message:
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@

Reply via email to