crypt32/tests: Compile with -D__WINESRC__.
This commit is contained in:
parent
bfd2c533be
commit
df62b94c25
|
@ -1,6 +1,5 @@
|
||||||
TESTDLL = crypt32.dll
|
TESTDLL = crypt32.dll
|
||||||
IMPORTS = crypt32 advapi32
|
IMPORTS = crypt32 advapi32
|
||||||
EXTRADEFS = -U__WINESRC__ -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -DWIDL_C_INLINE_WRAPPERS
|
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
base64.c \
|
base64.c \
|
||||||
|
|
|
@ -8054,9 +8054,9 @@ static void testPortPublicKeyInfo(void)
|
||||||
PCERT_PUBLIC_KEY_INFO info = NULL;
|
PCERT_PUBLIC_KEY_INFO info = NULL;
|
||||||
|
|
||||||
/* Just in case a previous run failed, delete this thing */
|
/* Just in case a previous run failed, delete this thing */
|
||||||
CryptAcquireContextA(&csp, cspName, MS_DEF_PROV, PROV_RSA_FULL,
|
CryptAcquireContextA(&csp, cspName, MS_DEF_PROV_A, PROV_RSA_FULL,
|
||||||
CRYPT_DELETEKEYSET);
|
CRYPT_DELETEKEYSET);
|
||||||
ret = CryptAcquireContextA(&csp, cspName, MS_DEF_PROV, PROV_RSA_FULL,
|
ret = CryptAcquireContextA(&csp, cspName, MS_DEF_PROV_A, PROV_RSA_FULL,
|
||||||
CRYPT_NEWKEYSET);
|
CRYPT_NEWKEYSET);
|
||||||
ok(ret,"CryptAcquireContextA failed\n");
|
ok(ret,"CryptAcquireContextA failed\n");
|
||||||
|
|
||||||
|
@ -8065,7 +8065,7 @@ static void testPortPublicKeyInfo(void)
|
||||||
|
|
||||||
HeapFree(GetProcessHeap(), 0, info);
|
HeapFree(GetProcessHeap(), 0, info);
|
||||||
CryptReleaseContext(csp, 0);
|
CryptReleaseContext(csp, 0);
|
||||||
ret = CryptAcquireContextA(&csp, cspName, MS_DEF_PROV, PROV_RSA_FULL,
|
ret = CryptAcquireContextA(&csp, cspName, MS_DEF_PROV_A, PROV_RSA_FULL,
|
||||||
CRYPT_DELETEKEYSET);
|
CRYPT_DELETEKEYSET);
|
||||||
ok(ret,"CryptAcquireContextA failed\n");
|
ok(ret,"CryptAcquireContextA failed\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue