]> git.ipfire.org Git - thirdparty/strongswan.git/commit
child-rekey: Correctly encode protocol/SPI in CHILD_SA_NOT_FOUND notify
authorTobias Brunner <tobias@strongswan.org>
Wed, 21 Jun 2023 13:57:38 +0000 (15:57 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 26 Jul 2023 13:09:49 +0000 (15:09 +0200)
commit849c2c9707e00fc5210bd389631a2fc1a97089e6
treed6c425eab932d10e473efdfce7fbae9bbadd41ed
parent10a3c44a414ced78ac1e9bf61614872e890f052d
child-rekey: Correctly encode protocol/SPI in CHILD_SA_NOT_FOUND notify

As specified in RFC 7296, section 2.25:

   The SA that the initiator attempted to rekey is indicated by the SPI
   field in the Notify payload, which is copied from the SPI field in
   the REKEY_SA notification.

So we copy that and the protocol verbatim.
src/libcharon/sa/ikev2/tasks/child_rekey.c