diff -r ed3155dbd163 -r 74f0b3eb154c xmlsecurityengine/xmlseccrypto/src/xmlsecc_x509wrapper.cpp --- a/xmlsecurityengine/xmlseccrypto/src/xmlsecc_x509wrapper.cpp Mon May 03 14:14:40 2010 +0300 +++ b/xmlsecurityengine/xmlseccrypto/src/xmlsecc_x509wrapper.cpp Wed Jun 23 20:27:15 2010 +0530 @@ -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();