diff -r f1aca2058253 -r d1a0d37b52a1 vpnengine/ikev1lib/src/ikev1dialog.cpp --- a/vpnengine/ikev1lib/src/ikev1dialog.cpp Tue May 11 17:09:49 2010 +0300 +++ b/vpnengine/ikev1lib/src/ikev1dialog.cpp Tue May 25 13:48:10 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" @@ -240,37 +240,6 @@ return status; } -/*-------------------------------------------------------------------- - * - * Get user name and password data for Legacy authentication - * This is a synchronous dialog which does NOT convert user name and - * password data into the 8-bit ASCII text - * Uses username cache - * - *---------------------------------------------------------------------*/ -TInt CIkev1Dialog::GetSyncUNPWCacheDialog(TDes& aUserName, TDes& aPassword) -{ - TInt status = KErrGeneral; - TIPSecDialogOutput output; - - TIPSecDialogInfo dialog_input(TKMDDialog::EUserPwd, 0); - - iInputData = CreateDialogInput(dialog_input, ETrue);// TRUE = Use user name cache - - TPckgBuf ResponseBuf(output);//create the buf to receive the response - - if ( iInputData ) - status = LauchSyncDialog((TPckgBuf&)*iInputData, ResponseBuf); - - if ( status == KErrNone ) { - TIPSecDialogOutput& resp = ResponseBuf(); - aUserName = resp.iOutBuf; - aPassword = resp.iOutBuf2; - } - - return status; -} - void CIkev1Dialog::ShowErrorDialogL(TInt aDialogText, TAny *aUserInfo, MIkeDialogComplete* aCallback ) { iDialogType = TNoteDialog::EInfo;