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
af96a43c
Commit
af96a43c
authored
Aug 19, 2008
by
H. Verbeet
Committed by
Alexandre Julliard
Aug 20, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Reserved3 / Reserved4 are actually EncryptMessage / DecryptMessage.
parent
898c2c97
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
12 deletions
+8
-12
secur32.c
dlls/secur32/secur32.c
+4
-4
secur32.c
dlls/secur32/tests/secur32.c
+4
-8
No files found.
dlls/secur32/secur32.c
View file @
af96a43c
...
...
@@ -104,8 +104,8 @@ static SecurityFunctionTableA securityFunctionTableA = {
VerifySignature
,
FreeContextBuffer
,
QuerySecurityPackageInfoA
,
NULL
,
/* Reserved3 */
NULL
,
/* Reserved4 */
EncryptMessage
,
/* Reserved3 */
DecryptMessage
,
/* Reserved4 */
ExportSecurityContext
,
ImportSecurityContextA
,
AddCredentialsA
,
...
...
@@ -135,8 +135,8 @@ static SecurityFunctionTableW securityFunctionTableW = {
VerifySignature
,
FreeContextBuffer
,
QuerySecurityPackageInfoW
,
NULL
,
/* Reserved3 */
NULL
,
/* Reserved4 */
EncryptMessage
,
/* Reserved3 */
DecryptMessage
,
/* Reserved4 */
ExportSecurityContext
,
ImportSecurityContextW
,
AddCredentialsW
,
...
...
dlls/secur32/tests/secur32.c
View file @
af96a43c
...
...
@@ -99,10 +99,8 @@ static void test_InitSecurityInterface(void)
ok
(
sftA
!=
NULL
,
"pInitSecurityInterfaceA failed
\n
"
);
ok
(
sftA
->
dwVersion
==
SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION
,
"wrong dwVersion %ld in security function table
\n
"
,
sftA
->
dwVersion
);
ok
(
!
sftA
->
Reserved2
,
"Reserved2 should be NULL instead of %p in security function table
\n
"
,
sftA
->
Reserved2
);
todo_wine
ok
(
sftA
->
Reserved3
!=
NULL
,
"Reserved3 should not be NULL in security function table
\n
"
);
todo_wine
ok
(
sftA
->
Reserved4
!=
NULL
,
"Reserved4 should not be NULL in security function table
\n
"
);
ok
(
sftA
->
Reserved3
==
sftA
->
EncryptMessage
,
"Reserved3 should be equal to EncryptMessage in the security function table
\n
"
);
ok
(
sftA
->
Reserved4
==
sftA
->
DecryptMessage
,
"Reserved4 should be equal to DecryptMessage in the security function table
\n
"
);
if
(
!
pInitSecurityInterfaceW
)
{
...
...
@@ -114,10 +112,8 @@ static void test_InitSecurityInterface(void)
ok
(
sftW
!=
NULL
,
"pInitSecurityInterfaceW failed
\n
"
);
ok
(
sftW
->
dwVersion
==
SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION
,
"wrong dwVersion %ld in security function table
\n
"
,
sftW
->
dwVersion
);
ok
(
!
sftW
->
Reserved2
,
"Reserved2 should be NULL instead of %p in security function table
\n
"
,
sftW
->
Reserved2
);
todo_wine
ok
(
sftW
->
Reserved3
!=
NULL
,
"Reserved3 should note be NULL in security function table
\n
"
);
todo_wine
ok
(
sftW
->
Reserved4
!=
NULL
,
"Reserved4 should not be NULL in security function table
\n
"
);
ok
(
sftW
->
Reserved3
==
sftW
->
EncryptMessage
,
"Reserved3 should be equal to EncryptMessage in the security function table
\n
"
);
ok
(
sftW
->
Reserved4
==
sftW
->
DecryptMessage
,
"Reserved4 should be equal to DecryptMessage in the security function table
\n
"
);
}
START_TEST
(
secur32
)
...
...
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