vpnengine/ikev1lib/src/ikev1trans.cpp
changeset 17 8962128a2656
parent 0 33413c0669b9
--- a/vpnengine/ikev1lib/src/ikev1trans.cpp	Tue Feb 02 00:53:00 2010 +0200
+++ b/vpnengine/ikev1lib/src/ikev1trans.cpp	Fri Apr 16 16:02:48 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -675,7 +675,6 @@
 TInt CTransNegotiation::ProcessXauthRequestL(TDataISAKMP* aAttr, TInt aLth)
 {
     TInt     status        = TRANSACTION_CONTINUE;
-    TUint16  xauth_type    = ATTR_XAUTH_GENERIC;
     TUint32  request_flags = 0;
     TPtr8    challenge(NULL, 0);
 	TUint16  attr_type;
@@ -823,18 +822,6 @@
             iDialog->GetAsyncSecureNextPinDialogL(iDialogInfo, (MIkeDialogComplete*)this);
             break;
 
-        case ( (1 << (ATTR_CHALLENGE - ATTR_XAUTH_TYPE)) ):
-            //
-            //  User Challenge response dialog
-            //
-            if ( xauth_type == ATTR_XAUTH_RADIUS_CHAP )
-			{
-				iDialog     = CIkev1Dialog::NewL(iPluginSession, iPluginSession->DialogAnchor(), iDebug);			
-				iDialogInfo = new(ELeave) CAuthDialogInfo(iPluginSession, XAUTH_DIALOG_ID, iNegotiation->SAId(), iCurrExchange->iMessageId);
-                iDialog->GetAsyncRespDialog(challenge, iDialogInfo, (MIkeDialogComplete*)this);
-            }   
-            break;
-
         default:
             break;