diff -r 740e860b8acf -r 450972dee096 xmlsecurityengine/xmlseccrypto/src/xmlsecc_x509wrapper.cpp --- a/xmlsecurityengine/xmlseccrypto/src/xmlsecc_x509wrapper.cpp Fri Jun 11 15:35:29 2010 +0300 +++ b/xmlsecurityengine/xmlseccrypto/src/xmlsecc_x509wrapper.cpp Tue Jul 06 16:24:52 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();