Revision: 201035 RCL_3
authorDremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 15 Sep 2010 13:09:05 +0300
branchRCL_3
changeset 57 ead42e28e519
parent 54 94da73d93b58
child 67 79bd6bd83ec3
Revision: 201035 Kit: 201036
wim/WimServer/src/WimCertHandler.cpp
wim/WimServer/src/WimCertUtil.cpp
--- a/wim/WimServer/src/WimCertHandler.cpp	Tue Sep 14 22:56:01 2010 +0300
+++ b/wim/WimServer/src/WimCertHandler.cpp	Wed Sep 15 13:09:05 2010 +0300
@@ -566,7 +566,7 @@
         pushedItemCount++;
 
         TPtrC8 undecodedUsage;
-        undecodedUsage.Set( ptTrustedUsage.pb_buf );
+        undecodedUsage.Set( ptTrustedUsage.pb_buf, ptTrustedUsage.ui_buf_length );
 
         if ( ptTrustedUsage.ui_buf_length == 0 ) // No OIDs
             {
--- a/wim/WimServer/src/WimCertUtil.cpp	Tue Sep 14 22:56:01 2010 +0300
+++ b/wim/WimServer/src/WimCertUtil.cpp	Wed Sep 15 13:09:05 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). 
+* Copyright (c) 2002-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"
@@ -1115,7 +1115,7 @@
         CleanupPushWimBufL( ptTrustedUsage );
 
         TPtrC8 undecodedUsage;
-        undecodedUsage.Set( ptTrustedUsage.pb_buf ); 
+        undecodedUsage.Set( ptTrustedUsage.pb_buf, ptTrustedUsage.ui_buf_length );
 
         if ( ptTrustedUsage.ui_buf_length == 0 ) // No OIDs
             {