]> git.ipfire.org Git - thirdparty/strongswan.git/commit
ikev1: Fix PSK lookup for Main Mode initiators
authorTobias Brunner <tobias@strongswan.org>
Fri, 5 Jun 2020 12:07:43 +0000 (14:07 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 5 Jun 2020 12:26:30 +0000 (14:26 +0200)
commit736ac6555410ae3c4b54f0325e8202c2fd9c2e22
treea71820458d86dd55291d1420b1a387ad20fef4a6
parent62367f2c013f1a2a03a95bce506a421deb9f2032
ikev1: Fix PSK lookup for Main Mode initiators

We need the PSK/identity already when deriving the keys in process_i().

Fixes: 1665a4e0504f ("ikev1: Use actual local identity as initiator or aggressive mode responder")
src/libcharon/sa/ikev1/tasks/main_mode.c