IKEv1 XAuth: Fix main mode to work with XAuth PSK.

This commit is contained in:
Clavister OpenSource
2012-03-20 17:31:07 +01:00
parent a2f8fc9711
commit 2c49c53186
+2 -2
View File
@@ -586,8 +586,8 @@ static bool derive_keys(private_main_mode_t *this, chunk_t nonce_i,
switch (this->auth_method)
{
case AUTH_CLASS_PSK:
case AUTH_CLASS_XAUTH_PSK:
case AUTH_PSK:
case AUTH_XAUTH_INIT_PSK:
shared_key = lookup_shared_key(this);
break;
default: