crypt32/tests: Add a trailing '\n' to ok() calls.
This commit is contained in:
parent
802c4dee57
commit
fea384cea4
@ -7962,7 +7962,7 @@ static void testPortPublicKeyInfo(void)
|
|||||||
CRYPT_DELETEKEYSET);
|
CRYPT_DELETEKEYSET);
|
||||||
ret = CryptAcquireContextA(&csp, cspName, MS_DEF_PROV, PROV_RSA_FULL,
|
ret = CryptAcquireContextA(&csp, cspName, MS_DEF_PROV, PROV_RSA_FULL,
|
||||||
CRYPT_NEWKEYSET);
|
CRYPT_NEWKEYSET);
|
||||||
ok(ret,"CryptAcquireContextA failed");
|
ok(ret,"CryptAcquireContextA failed\n");
|
||||||
|
|
||||||
testExportPublicKey(csp, &info);
|
testExportPublicKey(csp, &info);
|
||||||
testImportPublicKey(csp, info);
|
testImportPublicKey(csp, info);
|
||||||
@ -7971,7 +7971,7 @@ static void testPortPublicKeyInfo(void)
|
|||||||
CryptReleaseContext(csp, 0);
|
CryptReleaseContext(csp, 0);
|
||||||
ret = CryptAcquireContextA(&csp, cspName, MS_DEF_PROV, PROV_RSA_FULL,
|
ret = CryptAcquireContextA(&csp, cspName, MS_DEF_PROV, PROV_RSA_FULL,
|
||||||
CRYPT_DELETEKEYSET);
|
CRYPT_DELETEKEYSET);
|
||||||
ok(ret,"CryptAcquireContextA failed");
|
ok(ret,"CryptAcquireContextA failed\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
START_TEST(encode)
|
START_TEST(encode)
|
||||||
|
@ -2228,7 +2228,7 @@ static void testAddCertificateLink(void)
|
|||||||
ok(ret, "CertAddCertificateLinkToStore failed: %08x\n", GetLastError());
|
ok(ret, "CertAddCertificateLinkToStore failed: %08x\n", GetLastError());
|
||||||
if (ret)
|
if (ret)
|
||||||
{
|
{
|
||||||
ok(linked->hCertStore == store1, "unexpected store");
|
ok(linked->hCertStore == store1, "unexpected store\n");
|
||||||
ret = CertSerializeCertificateStoreElement(linked, 0, NULL, &size);
|
ret = CertSerializeCertificateStoreElement(linked, 0, NULL, &size);
|
||||||
ok(ret, "CertSerializeCertificateStoreElement failed: %08x\n",
|
ok(ret, "CertSerializeCertificateStoreElement failed: %08x\n",
|
||||||
GetLastError());
|
GetLastError());
|
||||||
@ -2300,7 +2300,7 @@ static void testAddCertificateLink(void)
|
|||||||
ok(ret, "CertAddCertificateLinkToStore failed: %08x\n", GetLastError());
|
ok(ret, "CertAddCertificateLinkToStore failed: %08x\n", GetLastError());
|
||||||
if (ret)
|
if (ret)
|
||||||
{
|
{
|
||||||
ok(linked->hCertStore == store2, "unexpected store");
|
ok(linked->hCertStore == store2, "unexpected store\n");
|
||||||
ret = CertSerializeCertificateStoreElement(linked, 0, NULL, &size);
|
ret = CertSerializeCertificateStoreElement(linked, 0, NULL, &size);
|
||||||
ok(ret, "CertSerializeCertificateStoreElement failed: %08x\n",
|
ok(ret, "CertSerializeCertificateStoreElement failed: %08x\n",
|
||||||
GetLastError());
|
GetLastError());
|
||||||
@ -2360,7 +2360,7 @@ static void testAddCertificateLink(void)
|
|||||||
ok(ret, "CertAddCertificateLinkToStore failed: %08x\n", GetLastError());
|
ok(ret, "CertAddCertificateLinkToStore failed: %08x\n", GetLastError());
|
||||||
if (ret)
|
if (ret)
|
||||||
{
|
{
|
||||||
ok(linked->hCertStore == store2, "unexpected store");
|
ok(linked->hCertStore == store2, "unexpected store\n");
|
||||||
ret = CertSerializeCertificateStoreElement(linked, 0, NULL, &size);
|
ret = CertSerializeCertificateStoreElement(linked, 0, NULL, &size);
|
||||||
ok(ret, "CertSerializeCertificateStoreElement failed: %08x\n",
|
ok(ret, "CertSerializeCertificateStoreElement failed: %08x\n",
|
||||||
GetLastError());
|
GetLastError());
|
||||||
@ -2429,7 +2429,7 @@ static void testAddCertificateLink(void)
|
|||||||
ok(ret, "CertAddCertificateLinkToStore failed: %08x\n", GetLastError());
|
ok(ret, "CertAddCertificateLinkToStore failed: %08x\n", GetLastError());
|
||||||
if (ret)
|
if (ret)
|
||||||
{
|
{
|
||||||
ok(linked->hCertStore == store2, "unexpected store");
|
ok(linked->hCertStore == store2, "unexpected store\n");
|
||||||
ret = pCertControlStore(store2, 0, CERT_STORE_CTRL_COMMIT, NULL);
|
ret = pCertControlStore(store2, 0, CERT_STORE_CTRL_COMMIT, NULL);
|
||||||
ok(ret, "CertControlStore failed: %d\n", ret);
|
ok(ret, "CertControlStore failed: %d\n", ret);
|
||||||
compareStore(store2, "file store -> system store",
|
compareStore(store2, "file store -> system store",
|
||||||
@ -2452,7 +2452,7 @@ static void testAddCertificateLink(void)
|
|||||||
ok(ret, "CertAddCertificateLinkToStore failed: %08x\n", GetLastError());
|
ok(ret, "CertAddCertificateLinkToStore failed: %08x\n", GetLastError());
|
||||||
if (ret)
|
if (ret)
|
||||||
{
|
{
|
||||||
ok(linked->hCertStore == store2, "unexpected store");
|
ok(linked->hCertStore == store2, "unexpected store\n");
|
||||||
CertDeleteCertificateFromStore(linked);
|
CertDeleteCertificateFromStore(linked);
|
||||||
}
|
}
|
||||||
CertCloseStore(store2, 0);
|
CertCloseStore(store2, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user