diff -r 6bcc0aa4be39 -r 889504eac4fb xmlsecurityengine/xmlseccrypto/src/xmlsecc_x509wrapper.cpp --- a/xmlsecurityengine/xmlseccrypto/src/xmlsecc_x509wrapper.cpp Thu Aug 19 11:41:35 2010 +0300 +++ b/xmlsecurityengine/xmlseccrypto/src/xmlsecc_x509wrapper.cpp Tue Aug 31 17:02:56 2010 +0300 @@ -278,7 +278,7 @@ User::LeaveIfError( aCertStore->iSymbianCertStore->GetError() ); certdata=aCertStore->iSymbianCertStore->GetRetrieveCertData(); certX509 = CX509Certificate::NewLC(*certdata); - aCertStore->iRootCertsSCS.Append((CX509Certificate *)certX509); + User::LeaveIfError(aCertStore->iRootCertsSCS.Append((CX509Certificate *)certX509)); CleanupStack::Pop(certX509); } aCertStore->iCertChain = CSymbianCertChain::NewL();