crypt32: fix a wrong test
Mounir IDRASSI
mounir.idrassi at idrix.fr
Mon May 7 09:05:35 CDT 2007
Hi,
This patch corrects a test in crypt32 that was incorrectly written to
accommodate the bug in rsaenh dll we corrected in our previous patch.
Mounir IDRASSI
IDRIX - Cryptography and IT Security Experts
http://www.idrix.fr
-------------- next part --------------
>From b2059ab820a37ef3129cd52c4a4048c9081d3bb9 Mon Sep 17 00:00:00 2001
From: Mounir IDRASSI <mounir.idrassi at idrix.fr>
Date: Mon, 7 May 2007 15:33:36 +0200
Subject: crypt32: fix a wrong test
---
dlls/crypt32/tests/cert.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/crypt32/tests/cert.c b/dlls/crypt32/tests/cert.c
index 345c9f5..bec65de 100644
--- a/dlls/crypt32/tests/cert.c
+++ b/dlls/crypt32/tests/cert.c
@@ -1212,7 +1212,7 @@ static void testCreateSelfSignCert(void)
"Unexpected key container\n");
ok(!lstrcmpW(info->pwszProvName, MS_DEF_PROV_W),
"Unexpected provider\n");
- ok(info->dwKeySpec == AT_SIGNATURE,
+ ok(info->dwKeySpec == (AT_SIGNATURE|AT_KEYEXCHANGE),
"Expected AT_SIGNATURE, got %d\n", info->dwKeySpec);
}
HeapFree(GetProcessHeap(), 0, info);
--
1.4.4.2
More information about the wine-patches
mailing list