summaryrefslogtreecommitdiff
path: root/plugins/Kuzne4ikCrypt/src/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Kuzne4ikCrypt/src/utils.cpp')
-rw-r--r--plugins/Kuzne4ikCrypt/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Kuzne4ikCrypt/src/utils.cpp b/plugins/Kuzne4ikCrypt/src/utils.cpp
index a669540320..04ac8bab4f 100644
--- a/plugins/Kuzne4ikCrypt/src/utils.cpp
+++ b/plugins/Kuzne4ikCrypt/src/utils.cpp
@@ -27,7 +27,7 @@ bool getRandomBytes(BYTE *buf, size_t bufLen)
{
// try to use Intel hardware randomizer first
HCRYPTPROV hProvider = NULL;
- if (::CryptAcquireContext(&hProvider, NULL, _T("Intel Hardware Cryptographic Service Provider"), PROV_INTEL_SEC, 0) ||
+ if (::CryptAcquireContext(&hProvider, NULL, L"Intel Hardware Cryptographic Service Provider", PROV_INTEL_SEC, 0) ||
::CryptAcquireContext(&hProvider, NULL, MS_STRONG_PROV, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT) ||
::CryptAcquireContext(&hProvider, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT))
{