OpenBSD/src 7GANAcQ — sbin/iked ikev2_msg.c
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@
Version | Delta | File | |
---|---|---|---|
1.59 | +12 | -11 | sbin/iked/ikev2_msg.c |
+12 | -11 | 1 files |