CryptAcquireContext can have multiple flags defined at the same
mounir.idrassi at idrix.fr
Mon Jun 11 15:29:45 CDT 2007
As you mentioned, I can confirm that this combination of flags is
allowed only when the default container is specified (the second
parameter pszContainer set to NULL). So, a small patch would consist of
adding this flags combination to the same switch code of
Could you please send the patching code along with the test to the
Thanks for pointing this behavior.
IDRIX - Cryptography and IT Security Experts
Maarten Lankhorst wrote:
> After retrying, I tried the same function arguments that msn messenger
> 7.5 passes to advapi32. It seems that function _is_ allowed to define
> the flags CRYPT_NEWKEYSET and CRYPT_VERIFYCONTEXT at the same time.
> I tried the same flags for advapi32 crosstest 'crypt' in linux and windows.
> $ wine advapi32_crosstest.exe crypt
> crypt.c:198: Test failed: 0/80090009
> windows 2000:
> Test didn't fail.
> Patch attached.
> Note that second parameter must be NULL for this call to succeed.
More information about the wine-devel