secur32/tests: Fix compilation for older gcc versions (and MinGW).
This commit is contained in:
parent
6651f9ba67
commit
7ba9ee9e76
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue