Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f21983cf
Commit
f21983cf
authored
Jun 01, 2006
by
Kai Blin
Committed by
Alexandre Julliard
Jun 02, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Add EncryptMessage and DecryptMessage stubs.
parent
6a74137d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
4 deletions
+32
-4
ntlm.c
dlls/secur32/ntlm.c
+32
-4
No files found.
dlls/secur32/ntlm.c
View file @
f21983cf
...
@@ -1065,6 +1065,34 @@ static SECURITY_STATUS SEC_ENTRY ntlm_FreeCredentialsHandle(
...
@@ -1065,6 +1065,34 @@ static SECURITY_STATUS SEC_ENTRY ntlm_FreeCredentialsHandle(
return
ret
;
return
ret
;
}
}
/***********************************************************************
* EncryptMessage
*/
static
SECURITY_STATUS
SEC_ENTRY
ntlm_EncryptMessage
(
PCtxtHandle
phContext
,
ULONG
fQOP
,
PSecBufferDesc
pMessage
,
ULONG
MessageSeqNo
)
{
TRACE
(
"%p %ld %p %ld stub
\n
"
,
phContext
,
fQOP
,
pMessage
,
MessageSeqNo
);
if
(
!
phContext
)
return
SEC_E_INVALID_HANDLE
;
return
SEC_E_UNSUPPORTED_FUNCTION
;
}
/***********************************************************************
* DecryptMessage
*/
static
SECURITY_STATUS
SEC_ENTRY
ntlm_DecryptMessage
(
PCtxtHandle
phContext
,
PSecBufferDesc
pMessage
,
ULONG
MessageSeqNo
,
PULONG
pfQOP
)
{
TRACE
(
"%p %p %ld %p stub
\n
"
,
phContext
,
pMessage
,
MessageSeqNo
,
pfQOP
);
if
(
!
phContext
)
return
SEC_E_INVALID_HANDLE
;
return
SEC_E_UNSUPPORTED_FUNCTION
;
}
static
SecurityFunctionTableA
ntlmTableA
=
{
static
SecurityFunctionTableA
ntlmTableA
=
{
1
,
1
,
NULL
,
/* EnumerateSecurityPackagesA */
NULL
,
/* EnumerateSecurityPackagesA */
...
@@ -1091,8 +1119,8 @@ static SecurityFunctionTableA ntlmTableA = {
...
@@ -1091,8 +1119,8 @@ static SecurityFunctionTableA ntlmTableA = {
NULL
,
/* AddCredentialsA */
NULL
,
/* AddCredentialsA */
NULL
,
/* Reserved8 */
NULL
,
/* Reserved8 */
NULL
,
/* QuerySecurityContextToken */
NULL
,
/* QuerySecurityContextToken */
NULL
,
/* EncryptMessage */
ntlm_EncryptMessage
,
/* EncryptMessage */
NULL
,
/* DecryptMessage */
ntlm_DecryptMessage
,
/* DecryptMessage */
NULL
,
/* SetContextAttributesA */
NULL
,
/* SetContextAttributesA */
};
};
...
@@ -1122,8 +1150,8 @@ static SecurityFunctionTableW ntlmTableW = {
...
@@ -1122,8 +1150,8 @@ static SecurityFunctionTableW ntlmTableW = {
NULL
,
/* AddCredentialsW */
NULL
,
/* AddCredentialsW */
NULL
,
/* Reserved8 */
NULL
,
/* Reserved8 */
NULL
,
/* QuerySecurityContextToken */
NULL
,
/* QuerySecurityContextToken */
NULL
,
/* EncryptMessage */
ntlm_EncryptMessage
,
/* EncryptMessage */
NULL
,
/* DecryptMessage */
ntlm_DecryptMessage
,
/* DecryptMessage */
NULL
,
/* SetContextAttributesW */
NULL
,
/* SetContextAttributesW */
};
};
...
...
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