summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/crypto/krb/prng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/crypto/krb/prng.c b/src/lib/crypto/krb/prng.c
index acece29bfe..ad2745fa6a 100644
--- a/src/lib/crypto/krb/prng.c
+++ b/src/lib/crypto/krb/prng.c
@@ -39,7 +39,7 @@ krb5_boolean
k5_get_os_entropy(unsigned char *buf, size_t len)
{
krb5_boolean result;
-
+ HCRYPTPROV provider;
if (!CryptAcquireContext(&provider, NULL, NULL, PROV_RSA_FULL, 0))
return FALSE;
result = CryptGenRandom(provider, len, buf);