secur32/tests: Fix compilation for older gcc versions (and MinGW).

This commit is contained in:
Paul Vriens 2007-01-13 16:08:55 +01:00 committed by Alexandre Julliard
parent 6651f9ba67
commit 7ba9ee9e76
1 changed files with 3 additions and 1 deletions

View File

@ -116,11 +116,13 @@ static void testAcquireSecurityContext(void)
PCCERT_CONTEXT certs[2];
HCRYPTPROV csp;
static CHAR unisp_name_a[] = UNISP_NAME_A;
static WCHAR ms_def_prov_w[] = MS_DEF_PROV_W;
WCHAR ms_def_prov_w[MAX_PATH];
BOOL ret;
HCRYPTKEY key;
CRYPT_KEY_PROV_INFO keyProvInfo;
lstrcpyW(ms_def_prov_w, MS_DEF_PROV_W);
keyProvInfo.pwszContainerName = cspNameW;
keyProvInfo.pwszProvName = ms_def_prov_w;
keyProvInfo.dwProvType = PROV_RSA_FULL;