Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
Signed-off-by: Sam Hartman <hartmans@painless-security.com>
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25084
dc483132-0cff-0310-8789-
dd5450dbe970
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);