Hello,
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.
Linux: $ 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.
Maarten