diff options
Diffstat (limited to 'plugins/CryptoPP/cpp_gpgw.cpp')
-rw-r--r-- | plugins/CryptoPP/cpp_gpgw.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/CryptoPP/cpp_gpgw.cpp b/plugins/CryptoPP/cpp_gpgw.cpp index 90fe8b3062..223280590f 100644 --- a/plugins/CryptoPP/cpp_gpgw.cpp +++ b/plugins/CryptoPP/cpp_gpgw.cpp @@ -203,7 +203,7 @@ LPSTR __cdecl gpg_encrypt(pCNTX ptr, LPCSTR szPlainMsg) szEncMsg = p_gpg_encrypt(szPlainMsg,(LPCSTR)p->gpgKeyID);
if (!szEncMsg) return 0;
- ptr->tmp = (LPSTR) strdup(szEncMsg);
+ ptr->tmp = (LPSTR)_strdup(szEncMsg);
LocalFree((LPVOID)szEncMsg);
return ptr->tmp;
@@ -223,7 +223,7 @@ LPSTR __cdecl gpg_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;
@@ -301,7 +301,7 @@ int __cdecl gpg_set_keyid(HANDLE context, LPCSTR RemoteKeyID) ptr->error = ERROR_NONE;
SAFE_FREE(p->gpgKeyID);
- p->gpgKeyID = (PBYTE) strdup(RemoteKeyID);
+ p->gpgKeyID = (PBYTE)_strdup(RemoteKeyID);
return 1;
}
|