Nikolay Sivov : crypt32/tests: Accept another error code on Win8.
Joseph Facciponti
joefatch at gmail.com
Wed Feb 5 14:53:33 CST 2014
Please remove me from mailng list.
On Wed, Feb 5, 2014 at 2:18 PM, Alexandre Julliard <julliard at winehq.org>wrote:
> Module: wine
> Branch: master
> Commit: c7a11f9ed619dfd586e96917faa1ee83d64c7352
> URL:
> http://source.winehq.org/git/wine.git/?a=commit;h=c7a11f9ed619dfd586e96917faa1ee83d64c7352
>
> Author: Nikolay Sivov <nsivov at codeweavers.com>
> Date: Wed Feb 5 21:50:32 2014 +0400
>
> crypt32/tests: Accept another error code on Win8.
>
> ---
>
> dlls/crypt32/tests/cert.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/dlls/crypt32/tests/cert.c b/dlls/crypt32/tests/cert.c
> index bd67c18..9c95629 100644
> --- a/dlls/crypt32/tests/cert.c
> +++ b/dlls/crypt32/tests/cert.c
> @@ -3724,7 +3724,7 @@ static void testAcquireCertPrivateKey(void)
> &keyProvInfo);
> ret = pCryptAcquireCertificatePrivateKey(cert, 0, NULL, &csp,
> &keySpec,
> &callerFree);
> - ok(!ret && GetLastError() == CRYPT_E_NO_KEY_PROPERTY,
> + ok(!ret && (GetLastError() == CRYPT_E_NO_KEY_PROPERTY ||
> GetLastError() == NTE_BAD_KEYSET /* win8 */),
> "Expected CRYPT_E_NO_KEY_PROPERTY, got %08x\n", GetLastError());
>
> pCryptAcquireContextA(&csp, cspNameA, MS_DEF_PROV_A, PROV_RSA_FULL,
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20140205/1c4ddbbc/attachment.html>
More information about the wine-devel
mailing list