mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Typoe.
This commit is contained in:
@@ -17,7 +17,7 @@ bool AddSystemEntropy()
|
||||
if (!CryptAcquireContext(&cryptoHandle, NULL, name, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT | CRYPT_SILENT))
|
||||
return false;
|
||||
|
||||
if(!CryptGenRandom(cryptoHandle, 128, reinterpret_cast<BYTE*> rand))
|
||||
if(!CryptGenRandom(cryptoHandle, 128, reinterpret_cast<BYTE*>(rand)))
|
||||
{
|
||||
CryptReleaseContext(cryptoHandle, 0);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user