--- a/xmlsecurityengine/xmlseccrypto/src/xmlsecc_evp.cpp Mon Mar 08 21:45:15 2010 +0000
+++ b/xmlsecurityengine/xmlseccrypto/src/xmlsecc_evp.cpp Sun Mar 14 13:16:21 2010 +0000
@@ -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;