Add missing XAuthRespPSK switch case to IKEv1 key derivation

This commit is contained in:
Martin Willi
2013-03-12 10:09:23 +01:00
parent cf6a4ea005
commit 3a23794fa2
+1
View File
@@ -431,6 +431,7 @@ METHOD(keymat_v1_t, derive_ike_keys, bool,
{
case AUTH_PSK:
case AUTH_XAUTH_INIT_PSK:
case AUTH_XAUTH_RESP_PSK:
{ /* SKEYID = prf(pre-shared-key, Ni_b | Nr_b) */
chunk_t psk;
if (!shared_key)