wim/WimServer/src/WimCertUtil.cpp
branchRCL_3
changeset 57 ead42e28e519
parent 0 164170e6151a
equal deleted inserted replaced
54:94da73d93b58 57:ead42e28e519
     1 /*
     1 /*
     2 * Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2002-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".
  1113         WSL_OS_Free( ptIssuerHash.pb_buf );
  1113         WSL_OS_Free( ptIssuerHash.pb_buf );
  1114 
  1114 
  1115         CleanupPushWimBufL( ptTrustedUsage );
  1115         CleanupPushWimBufL( ptTrustedUsage );
  1116 
  1116 
  1117         TPtrC8 undecodedUsage;
  1117         TPtrC8 undecodedUsage;
  1118         undecodedUsage.Set( ptTrustedUsage.pb_buf ); 
  1118         undecodedUsage.Set( ptTrustedUsage.pb_buf, ptTrustedUsage.ui_buf_length );
  1119 
  1119 
  1120         if ( ptTrustedUsage.ui_buf_length == 0 ) // No OIDs
  1120         if ( ptTrustedUsage.ui_buf_length == 0 ) // No OIDs
  1121             {
  1121             {
  1122             found = EFalse;
  1122             found = EFalse;
  1123             }
  1123             }