Hans Leidekker : advapi32: PP_USE_HARDWARE_RNG is a parameter, not a flag.
Alexandre Julliard
julliard at winehq.org
Fri Jan 10 13:22:47 CST 2014
Module: wine
Branch: master
Commit: 2722c451732f83f4569d603fd8cf71bc65be54f7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2722c451732f83f4569d603fd8cf71bc65be54f7
Author: Hans Leidekker <hans at codeweavers.com>
Date: Fri Jan 10 16:50:40 2014 +0100
advapi32: PP_USE_HARDWARE_RNG is a parameter, not a flag.
---
dlls/advapi32/crypt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/advapi32/crypt.c b/dlls/advapi32/crypt.c
index d6454ea..2c5e411 100644
--- a/dlls/advapi32/crypt.c
+++ b/dlls/advapi32/crypt.c
@@ -2172,7 +2172,7 @@ BOOL WINAPI CryptSetProvParam (HCRYPTPROV hProv, DWORD dwParam, const BYTE *pbDa
SetLastError(ERROR_INVALID_PARAMETER);
return FALSE;
}
- if (dwFlags & PP_USE_HARDWARE_RNG)
+ if (dwParam == PP_USE_HARDWARE_RNG)
{
FIXME("PP_USE_HARDWARE_RNG: What do I do with this?\n");
FIXME("\tLetting the CSP decide.\n");
More information about the wine-cvs
mailing list