cryptoservices/certificateandkeymgmt/asn1/setdec.cpp
changeset 8 35751d3474b7
parent 0 2c201484c85f
equal deleted inserted replaced
2:675a964f4eb5 8:35751d3474b7
    98 	{
    98 	{
    99 	while (aPos < aSource.Length())
    99 	while (aPos < aSource.Length())
   100 		{
   100 		{
   101 		TPtrC8 Ptr=aSource.Right(aSource.Length() - aPos);
   101 		TPtrC8 Ptr=aSource.Right(aSource.Length() - aPos);
   102 		TASN1DecGeneric* Decoded = new(ELeave) TASN1DecGeneric(Ptr);
   102 		TASN1DecGeneric* Decoded = new(ELeave) TASN1DecGeneric(Ptr);
       
   103 		CleanupStack::PushL(Decoded);
   103 		Decoded->InitL();
   104 		Decoded->InitL();
   104 		CleanupStack::PushL(Decoded);
       
   105 		aDest.AppendL(Decoded);
   105 		aDest.AppendL(Decoded);
   106 		aPos+=Decoded->LengthDER();
   106 		aPos+=Decoded->LengthDER();
   107 		CleanupStack::Pop();//i think this should be just 'pop': need to find out
   107 		CleanupStack::Pop();//i think this should be just 'pop': need to find out
   108 		}
   108 		}
   109 	}
   109 	}
       
   110