Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
3440e768
Commit
3440e768
authored
Jan 10, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
Jan 10, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "advapi32: Fix cred domain according to tests.".
This reverts commit
061eb12c
. The patch makes tests for CredRead and CredEnumerate pass but breaks CredWrite at the same time.
parent
06562d16
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
cred.c
dlls/advapi32/cred.c
+0
-3
cred.c
dlls/advapi32/tests/cred.c
+2
-0
No files found.
dlls/advapi32/cred.c
View file @
3440e768
...
@@ -1821,9 +1821,6 @@ BOOL WINAPI CredWriteW(PCREDENTIALW Credential, DWORD Flags)
...
@@ -1821,9 +1821,6 @@ BOOL WINAPI CredWriteW(PCREDENTIALW Credential, DWORD Flags)
SetLastError
(
ERROR_BAD_USERNAME
);
SetLastError
(
ERROR_BAD_USERNAME
);
return
FALSE
;
return
FALSE
;
}
}
Credential
->
CredentialBlobSize
=
0
;
Credential
->
CredentialBlob
=
NULL
;
}
}
#ifdef __APPLE__
#ifdef __APPLE__
...
...
dlls/advapi32/tests/cred.c
View file @
3440e768
...
@@ -202,7 +202,9 @@ static void check_blob(int line, DWORD cred_type, PCREDENTIALA cred)
...
@@ -202,7 +202,9 @@ static void check_blob(int line, DWORD cred_type, PCREDENTIALA cred)
{
{
if
(
cred_type
==
CRED_TYPE_DOMAIN_PASSWORD
)
if
(
cred_type
==
CRED_TYPE_DOMAIN_PASSWORD
)
{
{
todo_wine
ok_
(
__FILE__
,
line
)(
cred
->
CredentialBlobSize
==
0
,
"expected CredentialBlobSize of 0 but got %d
\n
"
,
cred
->
CredentialBlobSize
);
ok_
(
__FILE__
,
line
)(
cred
->
CredentialBlobSize
==
0
,
"expected CredentialBlobSize of 0 but got %d
\n
"
,
cred
->
CredentialBlobSize
);
todo_wine
ok_
(
__FILE__
,
line
)(
!
cred
->
CredentialBlob
,
"expected NULL credentials but got %p
\n
"
,
cred
->
CredentialBlob
);
ok_
(
__FILE__
,
line
)(
!
cred
->
CredentialBlob
,
"expected NULL credentials but got %p
\n
"
,
cred
->
CredentialBlob
);
}
}
else
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment