ikev1: Store fallback identity (IP address) on IKE_SA's auth-cfg
authorTobias Brunner <tobias@strongswan.org>
Tue, 7 Apr 2020 14:59:28 +0000 (16:59 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 7 May 2020 13:05:55 +0000 (15:05 +0200)
commitb8f02fc42d07c522730e0227849b11e3982ef7d7
tree73103117fbb8998c2e8851423873ba8876158ebe
parent3d92cff726d6fb9f69254241cb6169bed69e6ddb
ikev1: Store fallback identity (IP address) on IKE_SA's auth-cfg

The other auth-cfg object is shared via peer-cfg, so we must not
modify it.  It's only stored to simplify memory management.

Fixes #3394.
src/libcharon/sa/ikev1/phase1.c