secur32/tests: Fix a typo in ok() messages.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7f64817e5e
commit
fd040fc9d9
|
@ -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)
|
||||||
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)
|
||||||
|
|
||||||
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)
|
||||||
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)
|
||||||
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)
|
||||||
|
|
||||||
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)
|
||||||
|
|
||||||
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;
|
||||||
|
|
Loading…
Reference in New Issue