diff -r d2801e68661f -r e65204f75c47 xmlsecurityengine/xmlseccrypto/src/xmlsecc_evp.cpp --- a/xmlsecurityengine/xmlseccrypto/src/xmlsecc_evp.cpp Wed Feb 03 11:49:58 2010 +0000 +++ b/xmlsecurityengine/xmlseccrypto/src/xmlsecc_evp.cpp Sat Feb 20 00:38:59 2010 +0200 @@ -100,7 +100,7 @@ return(ctx->pKey); - return NULL; + //return NULL; } static int @@ -327,7 +327,7 @@ EXPORT_C EVP_PKEY* xmlSecSymbianCryptoEvpKeyDup(EVP_PKEY* pKey) { - int ret; + EVP_PKEY* pKeyNew; xmlSecAssert2(pKey, NULL); @@ -1312,7 +1312,7 @@ */ RSA* xmlSecSymbianCryptoKeyDataRsaGetRsa(xmlSecKeyDataPtr data) { - EVP_PKEY* pKey; + xmlSecAssert2(xmlSecKeyDataCheckId(data, xmlSecSymbianCryptoKeyDataRsaId), NULL); /* @@ -1528,7 +1528,7 @@ xmlNodePtr node, xmlSecKeyInfoCtxPtr keyInfoCtx) { xmlNodePtr cur; RSA* rsa; - int ret; + xmlSecAssert2(id == xmlSecSymbianCryptoKeyDataRsaId, -1); xmlSecAssert2(key, -1); @@ -1625,7 +1625,7 @@ xmlSecSymbianCryptoKeyDataRsaGenerate(xmlSecKeyDataPtr data, xmlSecSize sizeBits, xmlSecKeyDataType type ATTRIBUTE_UNUSED) { - RSA* rsa; + int ret; EVP_PKEY *pKey;