diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-02 15:52:34 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-02 15:52:34 +0000 |
commit | 332a1c985d268f1e41bfac146fc80c9ccbb93c85 (patch) | |
tree | 7e609786b8308dd7bfbc0a3f0fdbfbaa395d8984 /plugins/CryptoPP/cpp_rsam.cpp | |
parent | eca1b167120907f6d927de29f449c93bdf381a83 (diff) |
warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@718 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CryptoPP/cpp_rsam.cpp')
-rw-r--r-- | plugins/CryptoPP/cpp_rsam.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CryptoPP/cpp_rsam.cpp b/plugins/CryptoPP/cpp_rsam.cpp index 5cfdd824ed..3cdb391660 100644 --- a/plugins/CryptoPP/cpp_rsam.cpp +++ b/plugins/CryptoPP/cpp_rsam.cpp @@ -407,7 +407,7 @@ LPSTR __cdecl rsa_recv(HANDLE context, LPCSTR msg) { SAFE_FREE(ptr->tmp);
string msg = decode_msg(p,data);
if ( msg.length() ) {
- ptr->tmp = (LPSTR) strdup(msg.c_str());
+ ptr->tmp = (LPSTR) _strdup(msg.c_str());
}
else {
imp->rsa_notify(context,-5); // ошибка декодирования AES сообщения
@@ -420,7 +420,7 @@ LPSTR __cdecl rsa_recv(HANDLE context, LPCSTR msg) { SAFE_FREE(ptr->tmp);
string msg = decode_rsa(p,r,data);
if ( msg.length() ) {
- ptr->tmp = (LPSTR) strdup(msg.c_str());
+ ptr->tmp = (LPSTR) _strdup(msg.c_str());
}
else {
imp->rsa_notify(context,-6); // ошибка декодирования RSA сообщения
|