Home
last modified time | relevance | path

Searched hist:0804246 (Results 1 – 1 of 1) sorted by relevance

/openbsd/sbin/iked/
H A Dikev2_msg.c0804246a Fri Nov 15 13:55:13 GMT 2019 tobhe <tobhe@openbsd.org> 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@