OpenBSD/src 7GANAcQsbin/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@
VersionDeltaFile
1.59+12-11sbin/iked/ikev2_msg.c
+12-111 files

UnifiedSplitRaw