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))
|
if (!CryptAcquireContext(&cryptoHandle, NULL, name, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT | CRYPT_SILENT))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if(!CryptGenRandom(cryptoHandle, 128, reinterpret_cast<BYTE*> rand))
|
if(!CryptGenRandom(cryptoHandle, 128, reinterpret_cast<BYTE*>(rand)))
|
||||||
{
|
{
|
||||||
CryptReleaseContext(cryptoHandle, 0);
|
CryptReleaseContext(cryptoHandle, 0);
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user