vpnengine/pkiservice/src/pkisession.cpp
branchRCL_3
changeset 41 e06095241a65
parent 40 473321461bba
child 44 735de8341ce4
equal deleted inserted replaced
40:473321461bba 41:e06095241a65
     1 /*
     1 /*
     2 * Copyright (c) 2006-2008 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   133     			{
   133     			{
   134     			TUid tempUid;
   134     			TUid tempUid;
   135     			for (TInt i = 0; i < aC; i++)
   135     			for (TInt i = 0; i < aC; i++)
   136     				{
   136     				{
   137     				list->Read(i * sizeof(TUid), (TAny*)&tempUid, sizeof(TUid));
   137     				list->Read(i * sizeof(TUid), (TAny*)&tempUid, sizeof(TUid));
   138     				iUidArray.Append(tempUid);
   138     				iUidArray.AppendL(tempUid);
   139     				}
   139     				}
   140     			}
   140     			}
   141     		CleanupStack::PopAndDestroy(1);     // list
   141     		CleanupStack::PopAndDestroy(1);     // list
   142     		
   142     		
   143     		TInt matchCount = iMapper.ApplicableCertCount(iUidArray);
   143     		TInt matchCount = iMapper.ApplicableCertCount(iUidArray);