summaryrefslogtreecommitdiff
path: root/plugins/SecureIM/src/svcs_rsa.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-31 19:09:56 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-31 19:09:56 +0000
commit33ed395de0eb385315d949c77b4e1289a6684112 (patch)
tree6698849d0a9396582130b7b2758565566b72f694 /plugins/SecureIM/src/svcs_rsa.cpp
parentcecb2a6e6e221b6cb94e48ef601d12bfde7f60f4 (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@4267 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SecureIM/src/svcs_rsa.cpp')
-rw-r--r--plugins/SecureIM/src/svcs_rsa.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SecureIM/src/svcs_rsa.cpp b/plugins/SecureIM/src/svcs_rsa.cpp
index ed7430b16d..552b79dab9 100644
--- a/plugins/SecureIM/src/svcs_rsa.cpp
+++ b/plugins/SecureIM/src/svcs_rsa.cpp
@@ -47,7 +47,7 @@ int __cdecl rsa_check_pub(HANDLE context, PBYTE pub, int pubLen, PBYTE sig, int
PBYTE buf = (PBYTE) alloca(sigLen); int len;
exp->rsa_get_hash((PBYTE)dbv.pbVal,dbv.cpbVal,(PBYTE)buf,&len);
sha_old = mir_strdup(to_hex(buf,len));
- DBFreeVariant(&dbv);
+ db_free(&dbv);
}
if ( bAAK ) {
if ( k ) mir_snprintf(msg,MSGSIZE,Translate(sim523),cnm,uin,sha,sha_old);
@@ -190,7 +190,7 @@ BYTE loadRSAkey(pUinKey ptr) {
#if defined(_DEBUG) || defined(NETLIB_LOG)
Sent_NetLog("loadRSAkey %d", ptr->keyLoaded);
#endif
- DBFreeVariant(&dbv);
+ db_free(&dbv);
}
}
return ptr->keyLoaded;