Commit fd040fc9 authored by Andrey Gusev's avatar Andrey Gusev Committed by Alexandre Julliard

secur32/tests: Fix a typo in ok() messages.

parent 7f64817e
...@@ -327,7 +327,7 @@ static SECURITY_STATUS setupClient(SspiData *sspi_data, SEC_CHAR *provider) ...@@ -327,7 +327,7 @@ static SECURITY_STATUS setupClient(SspiData *sspi_data, SEC_CHAR *provider)
trace("AcquireCredentialsHandle() returned %s\n", getSecError(ret)); trace("AcquireCredentialsHandle() returned %s\n", getSecError(ret));
} }
ok(ret == SEC_E_OK, "AcquireCredentialsHande() returned %s\n", ok(ret == SEC_E_OK, "AcquireCredentialsHandle() returned %s\n",
getSecError(ret)); getSecError(ret));
return ret; return ret;
...@@ -355,7 +355,7 @@ static SECURITY_STATUS setupServer(SspiData *sspi_data, SEC_CHAR *provider) ...@@ -355,7 +355,7 @@ static SECURITY_STATUS setupServer(SspiData *sspi_data, SEC_CHAR *provider)
trace("AcquireCredentialsHandle() returned %s\n", getSecError(ret)); trace("AcquireCredentialsHandle() returned %s\n", getSecError(ret));
} }
ok(ret == SEC_E_OK, "AcquireCredentialsHande() returned %s\n", ok(ret == SEC_E_OK, "AcquireCredentialsHandle() returned %s\n",
getSecError(ret)); getSecError(ret));
return ret; return ret;
...@@ -1211,21 +1211,21 @@ static BOOL testAcquireCredentialsHandle(void) ...@@ -1211,21 +1211,21 @@ static BOOL testAcquireCredentialsHandle(void)
ret = pAcquireCredentialsHandleA(NULL, sec_pkg_name, SECPKG_CRED_OUTBOUND, ret = pAcquireCredentialsHandleA(NULL, sec_pkg_name, SECPKG_CRED_OUTBOUND,
NULL, &id, NULL, NULL, &cred, &ttl); NULL, &id, NULL, NULL, &cred, &ttl);
ok(ret == SEC_E_OK, "AcquireCredentialsHande() returned %s\n", ok(ret == SEC_E_OK, "AcquireCredentialsHandle() returned %s\n",
getSecError(ret)); getSecError(ret));
pFreeCredentialsHandle(&cred); pFreeCredentialsHandle(&cred);
id.DomainLength = 0; id.DomainLength = 0;
ret = pAcquireCredentialsHandleA(NULL, sec_pkg_name, SECPKG_CRED_OUTBOUND, ret = pAcquireCredentialsHandleA(NULL, sec_pkg_name, SECPKG_CRED_OUTBOUND,
NULL, &id, NULL, NULL, &cred, &ttl); NULL, &id, NULL, NULL, &cred, &ttl);
ok(ret == SEC_E_OK, "AcquireCredentialsHande() returned %s\n", ok(ret == SEC_E_OK, "AcquireCredentialsHandle() returned %s\n",
getSecError(ret)); getSecError(ret));
pFreeCredentialsHandle(&cred); pFreeCredentialsHandle(&cred);
id.Domain = NULL; id.Domain = NULL;
ret = pAcquireCredentialsHandleA(NULL, sec_pkg_name, SECPKG_CRED_OUTBOUND, ret = pAcquireCredentialsHandleA(NULL, sec_pkg_name, SECPKG_CRED_OUTBOUND,
NULL, &id, NULL, NULL, &cred, &ttl); NULL, &id, NULL, NULL, &cred, &ttl);
ok(ret == SEC_E_OK, "AcquireCredentialsHande() returned %s\n", ok(ret == SEC_E_OK, "AcquireCredentialsHandle() returned %s\n",
getSecError(ret)); getSecError(ret));
pFreeCredentialsHandle(&cred); pFreeCredentialsHandle(&cred);
...@@ -1235,7 +1235,7 @@ static BOOL testAcquireCredentialsHandle(void) ...@@ -1235,7 +1235,7 @@ static BOOL testAcquireCredentialsHandle(void)
id.User = NULL; id.User = NULL;
ret = pAcquireCredentialsHandleA(NULL, sec_pkg_name, SECPKG_CRED_OUTBOUND, ret = pAcquireCredentialsHandleA(NULL, sec_pkg_name, SECPKG_CRED_OUTBOUND,
NULL, &id, NULL, NULL, &cred, &ttl); NULL, &id, NULL, NULL, &cred, &ttl);
ok(ret == SEC_E_OK, "AcquireCredentialsHande() returned %s\n", ok(ret == SEC_E_OK, "AcquireCredentialsHandle() returned %s\n",
getSecError(ret)); getSecError(ret));
pFreeCredentialsHandle(&cred); pFreeCredentialsHandle(&cred);
...@@ -1245,7 +1245,7 @@ static BOOL testAcquireCredentialsHandle(void) ...@@ -1245,7 +1245,7 @@ static BOOL testAcquireCredentialsHandle(void)
id.PasswordLength = 0; id.PasswordLength = 0;
ret = pAcquireCredentialsHandleA(NULL, sec_pkg_name, SECPKG_CRED_OUTBOUND, ret = pAcquireCredentialsHandleA(NULL, sec_pkg_name, SECPKG_CRED_OUTBOUND,
NULL, &id, NULL, NULL, &cred, &ttl); NULL, &id, NULL, NULL, &cred, &ttl);
ok(ret == SEC_E_OK, "AcquireCredentialsHande() returned %s\n", ok(ret == SEC_E_OK, "AcquireCredentialsHandle() returned %s\n",
getSecError(ret)); getSecError(ret));
pFreeCredentialsHandle(&cred); pFreeCredentialsHandle(&cred);
return TRUE; return TRUE;
...@@ -1289,7 +1289,7 @@ static void test_cred_multiple_use(void) ...@@ -1289,7 +1289,7 @@ static void test_cred_multiple_use(void)
ret = pAcquireCredentialsHandleA(NULL, sec_pkg_name, SECPKG_CRED_OUTBOUND, ret = pAcquireCredentialsHandleA(NULL, sec_pkg_name, SECPKG_CRED_OUTBOUND,
NULL, &id, NULL, NULL, &cred, &ttl); NULL, &id, NULL, NULL, &cred, &ttl);
ok(ret == SEC_E_OK, "AcquireCredentialsHande() returned %s\n", ok(ret == SEC_E_OK, "AcquireCredentialsHandle() returned %s\n",
getSecError(ret)); getSecError(ret));
buffer_desc.ulVersion = SECBUFFER_VERSION; buffer_desc.ulVersion = SECBUFFER_VERSION;
...@@ -1337,7 +1337,7 @@ static void test_null_auth_data(void) ...@@ -1337,7 +1337,7 @@ static void test_null_auth_data(void)
status = pAcquireCredentialsHandleA(NULL, (SEC_CHAR *)"NTLM", SECPKG_CRED_OUTBOUND, status = pAcquireCredentialsHandleA(NULL, (SEC_CHAR *)"NTLM", SECPKG_CRED_OUTBOUND,
NULL, NULL, NULL, NULL, &cred, &ttl); NULL, NULL, NULL, NULL, &cred, &ttl);
ok(status == SEC_E_OK, "AcquireCredentialsHande() failed %s\n", getSecError(status)); ok(status == SEC_E_OK, "AcquireCredentialsHandle() failed %s\n", getSecError(status));
buffers[0].cbBuffer = info->cbMaxToken; buffers[0].cbBuffer = info->cbMaxToken;
buffers[0].BufferType = SECBUFFER_TOKEN; buffers[0].BufferType = SECBUFFER_TOKEN;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment