Nikolay Sivov bunglehead@gmail.com wrote:
- st = pQueryCredentialsAttributesA(&cred, SECPKG_CRED_ATTR_NAMES, &names);
- ok(st == SEC_E_NO_CREDENTIALS || st == SEC_E_UNSUPPORTED_FUNCTION /* before Vista */, "expected SEC_E_NO_CREDENTIALS, got %08x\n", st);
Second possible return code should be broken(), otherwise your code change in next patch won't make any effect on tests.
SEC_E_UNSUPPORTED_FUNCTION is a perfectly valid error code, broken is not appropriate here. My next patch just changes Wine code to follow more recent Windows behaviour.