Re: crypt32: remove hardcoded value AT_SIGNATURE from CertContext_SetKeyProvInfo

2007-05-09 Thread Mounir IDRASSI
Hi Alexandre, I analyzed more deeply the code. The test is absolutely correct but the the implementation of the function CertContext_SetKeyProvInfo is definitely incorrect: in MSDN, it's stated that the dwKeySpec field of CRYPT_KEY_PROV_INFO is "the specification of the private key to retrieve". Or

Re: crypt32: remove hardcoded value AT_SIGNATURE from CertContext_SetKeyProvInfo

2007-05-09 Thread Alexandre Julliard
Mounir IDRASSI <[EMAIL PROTECTED]> writes: > Hi, > This patch removed a hardcoded value (AT_SIGNATURE) from > CertContext_SetKeyProvInfo. It also corrects a corresponding test. Like I said, the test currently passes on Windows, so you can't simply change it. Tests are supposed to reflect the beha