Re: crypt32: fixed the testGetCertChain tests on Vista.

2008-09-08 Thread James Hawkins
On Mon, Sep 8, 2008 at 4:41 AM, James Hawkins <[EMAIL PROTECTED]> wrote: > On Mon, Sep 8, 2008 at 4:38 AM, Markus Hitter <[EMAIL PROTECTED]> wrote: >> >> Am 08.09.2008 um 01:30 schrieb James Hawkins: >> >>> For example, the following is significantly easier to read: >>> >>>ok(result == ERROR_BU

Re: crypt32: fixed the testGetCertChain tests on Vista.

2008-09-08 Thread James Hawkins
On Mon, Sep 8, 2008 at 4:38 AM, Markus Hitter <[EMAIL PROTECTED]> wrote: > > Am 08.09.2008 um 01:30 schrieb James Hawkins: > >> For example, the following is significantly easier to read: >> >>ok(result == ERROR_BUFFER_TOO_SMALL || >>result == ERROR_INVALID_USER_BUFFER || /* win98 */ >>

Re: crypt32: fixed the testGetCertChain tests on Vista.

2008-09-08 Thread Markus Hitter
Am 08.09.2008 um 01:30 schrieb James Hawkins: > For example, the following is significantly easier to read: > > ok(result == ERROR_BUFFER_TOO_SMALL || > result == ERROR_INVALID_USER_BUFFER || /* win98 */ > result == ERROR_INVALID_DATA, /* Vista */ > "Expected ERROR_BUF

Re: crypt32: fixed the testGetCertChain tests on Vista.

2008-09-07 Thread James Hawkins
On Sun, Sep 7, 2008 at 5:59 AM, Reece Dunn <[EMAIL PROTECTED]> wrote: > This fixes these crypt32:chain testGetCertChain tests on Vista and Windows > 2008. > -ok(!ret && GetLastError() == ERROR_INVALID_DATA, - "Expected ERROR_INVALID_DATA, got %d\n", GetLastError()); +ok(!ret, "Expecte