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_pgpw.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_pgpw.cpp')
-rw-r--r-- | plugins/CryptoPP/cpp_pgpw.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/CryptoPP/cpp_pgpw.cpp b/plugins/CryptoPP/cpp_pgpw.cpp index fa20560f94..e177cfbc6b 100644 --- a/plugins/CryptoPP/cpp_pgpw.cpp +++ b/plugins/CryptoPP/cpp_pgpw.cpp @@ -210,7 +210,7 @@ LPSTR __cdecl pgp_encrypt(pCNTX ptr, LPCSTR szPlainMsg) szEncMsg = p_pgp_encrypt_keydb(szPlainMsg,p->pgpKeyID);
if (!szEncMsg) return 0;
- ptr->tmp = (LPSTR) strdup(szEncMsg);
+ ptr->tmp = (LPSTR) _strdup(szEncMsg);
LocalFree((LPVOID)szEncMsg);
return ptr->tmp;
@@ -233,7 +233,7 @@ LPSTR __cdecl pgp_decrypt(pCNTX ptr, LPCSTR szEncMsg) if (!szPlainMsg) return NULL;
}
- ptr->tmp = (LPSTR) strdup(szPlainMsg);
+ ptr->tmp = (LPSTR) _strdup(szPlainMsg);
LocalFree((LPVOID)szPlainMsg);
return ptr->tmp;
@@ -291,7 +291,7 @@ int __cdecl pgp_set_key(HANDLE context, LPCSTR RemoteKey) // if (!p_pgp_check_key(RemoteKey)) return 0;
SAFE_FREE(p->pgpKey);
- p->pgpKey = (PBYTE) strdup(RemoteKey);
+ p->pgpKey = (PBYTE) _strdup(RemoteKey);
return 1;
}
|