CryptAcquireContext can have multiple flags defined at the same time, V2

2007-06-11 Thread Maarten Lankhorst
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.

Re: CryptAcquireContext can have multiple flags defined at the same time, V2

2007-06-11 Thread Mounir IDRASSI
Hi Marteen, 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 CRYPT_VERIFYCONTEXT. Could