rsaenh: AcquireContext can have multiple flags defined at the same time

Maarten Lankhorst m.b.lankhorst at
Fri May 25 14:31:34 CDT 2007

Mounir IDRASSI schreef:
> Hi,
> Your patch is wrong: the flags CRYPT_NEWKEYSET and CRYPT_VERIFYCONTEXT
> can't be mixed and if they are set together like in your patch
> AcquireContext should return NTE_BAD_FLAGS. You can check that using the
> MS implementation under windows. It's also clearly stated in MSDN that
> CRYPT_VERIFYCONTEXT is reserved for non persistent operations which is
> not the case when you create a new container.
After witing a simple test I can confirm that, I filed a bug report
against msn messenger, wonder what will happen with that.

More information about the wine-devel mailing list