Paul Vriens : crypt32/tests: Fix compilation for older gcc versions (
and MinGW).
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jan 15 07:43:16 CST 2007
Module: wine
Branch: master
Commit: cd3161eb321e5c81bc53e656369dff122d534128
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cd3161eb321e5c81bc53e656369dff122d534128
Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date: Sat Jan 13 16:07:10 2007 +0100
crypt32/tests: Fix compilation for older gcc versions (and MinGW).
---
dlls/crypt32/tests/cert.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/crypt32/tests/cert.c b/dlls/crypt32/tests/cert.c
index 963de41..345c9f5 100644
--- a/dlls/crypt32/tests/cert.c
+++ b/dlls/crypt32/tests/cert.c
@@ -309,7 +309,6 @@ static void checkHash(const BYTE *data,
}
static WCHAR cspNameW[] = { 'W','i','n','e','C','r','y','p','t','T','e','m','p',0 };
-static WCHAR ms_def_prov_w[] = MS_DEF_PROV_W;
static void testCertProperties(void)
{
@@ -1824,6 +1823,9 @@ static void testAcquireCertPrivateKey(vo
BOOL callerFree;
CRYPT_KEY_PROV_INFO keyProvInfo;
HCRYPTKEY key;
+ WCHAR ms_def_prov_w[MAX_PATH];
+
+ lstrcpyW(ms_def_prov_w, MS_DEF_PROV_W);
keyProvInfo.pwszContainerName = cspNameW;
keyProvInfo.pwszProvName = ms_def_prov_w;
More information about the wine-cvs
mailing list