summaryrefslogtreecommitdiff
path: root/plugins/CryptoPP/cpp_svcs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CryptoPP/cpp_svcs.cpp')
-rw-r--r--plugins/CryptoPP/cpp_svcs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CryptoPP/cpp_svcs.cpp b/plugins/CryptoPP/cpp_svcs.cpp
index 7e97735540..2b99003a2a 100644
--- a/plugins/CryptoPP/cpp_svcs.cpp
+++ b/plugins/CryptoPP/cpp_svcs.cpp
@@ -128,7 +128,7 @@ LPSTR __cdecl cpp_decrypt(pCNTX ptr, LPCSTR szEncMsg)
ptr->tmp = (LPSTR) cpp_gunzip((PBYTE)unciphered.data(),unciphered.length(),clen);
ptr->tmp[clen] = 0;
}
- else ptr->tmp = (LPSTR) strdup(unciphered.c_str());
+ else ptr->tmp = (LPSTR) _strdup(unciphered.c_str());
ptr->error = ERROR_NONE;
return ptr->tmp;