Codebase list libcryptx-perl / 0834404
avoid declaration after statement Karel Miko 8 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
107107 static unsigned long rng_win32(unsigned char *buf, unsigned long len,
108108 void (*callback)(void))
109109 {
110 HCRYPTPROV hProv = 0;
110111 LTC_UNUSED_PARAM(callback);
111 HCRYPTPROV hProv = 0;
112112 if (!CryptAcquireContext(&hProv, NULL, MS_DEF_PROV, PROV_RSA_FULL,
113113 (CRYPT_VERIFYCONTEXT | CRYPT_MACHINE_KEYSET)) &&
114114 !CryptAcquireContext (&hProv, NULL, MS_DEF_PROV, PROV_RSA_FULL,