crypt32/tests: Fix compilation for older gcc versions (and MinGW).
This commit is contained in:
parent
16cb898600
commit
cd3161eb32
|
@ -309,7 +309,6 @@ static void checkHash(const BYTE *data, DWORD dataLen, ALG_ID algID,
|
||||||
}
|
}
|
||||||
|
|
||||||
static WCHAR cspNameW[] = { 'W','i','n','e','C','r','y','p','t','T','e','m','p',0 };
|
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)
|
static void testCertProperties(void)
|
||||||
{
|
{
|
||||||
|
@ -1824,6 +1823,9 @@ static void testAcquireCertPrivateKey(void)
|
||||||
BOOL callerFree;
|
BOOL callerFree;
|
||||||
CRYPT_KEY_PROV_INFO keyProvInfo;
|
CRYPT_KEY_PROV_INFO keyProvInfo;
|
||||||
HCRYPTKEY key;
|
HCRYPTKEY key;
|
||||||
|
WCHAR ms_def_prov_w[MAX_PATH];
|
||||||
|
|
||||||
|
lstrcpyW(ms_def_prov_w, MS_DEF_PROV_W);
|
||||||
|
|
||||||
keyProvInfo.pwszContainerName = cspNameW;
|
keyProvInfo.pwszContainerName = cspNameW;
|
||||||
keyProvInfo.pwszProvName = ms_def_prov_w;
|
keyProvInfo.pwszProvName = ms_def_prov_w;
|
||||||
|
|
Loading…
Reference in New Issue