[4/4] advapi32/tests: Check that a credential type is supported before testing it. Test CRED_TYPE_DOMAIN_VISIBLE_PASSWORD credentials. Factorize the CredentialBlob checks.
Francois Gouget
fgouget at free.fr
Wed Feb 13 15:10:55 CST 2008
---
This patch fixes the tests on my Windows XP system.
For whatever reason it does not want to store CRED_TYPE_DOMAIN_PASSWORD
credentials. However it advertises that clearly in CredGetSessionTypes()
so we should not even try (and now we don't).
My Windows XP system is ok with CRED_TYPE_DOMAIN_VISIBLE_PASSWORD and
it's simple enough to test so I added it. And now Wine clearly
advertises that it does not support these so there's no failure in Wine
either.
Maybe CRED_TYPE_DOMAIN_VISIBLE_PASSWORD is simple enough to implement in
Wine?
dlls/advapi32/tests/cred.c | 80 +++++++++++++++++++++++++++++++++-----------
1 files changed, 60 insertions(+), 20 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: f4d029173fa28466ab7bd2d1c7b35bfa9b538840.diff
Type: text/x-patch
Size: 10104 bytes
Desc:
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080213/fd1b215e/attachment-0001.bin
More information about the wine-patches
mailing list