|
|
|
|
@ -72,7 +72,7 @@ static void sys_win_rand_init(void)
|
|
|
|
|
DWORD err = GetLastError(); |
|
|
|
|
LWIP_PLATFORM_DIAG(("CryptAcquireContext failed with error %d, trying to create NEWKEYSET", (int)err)); |
|
|
|
|
if(!CryptAcquireContext(&hcrypt, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET)) { |
|
|
|
|
DWORD err = GetLastError(); |
|
|
|
|
err = GetLastError(); |
|
|
|
|
char errbuf[128]; |
|
|
|
|
snprintf(errbuf, sizeof(errbuf), "CryptAcquireContext failed with error %d", (int)err); |
|
|
|
|
LWIP_UNUSED_ARG(err); |
|
|
|
|
|