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
e91da145
Commit
e91da145
authored
May 22, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
May 23, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Authentication padding should only be generated if there is authentication data.
parent
29d3f1e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
rpc_message.c
dlls/rpcrt4/rpc_message.c
+1
-1
No files found.
dlls/rpcrt4/rpc_message.c
View file @
e91da145
...
...
@@ -281,7 +281,7 @@ static RPC_STATUS RPCRT4_SendAuth(RpcConnection *Connection, RpcPktHdr *Header,
Header
->
common
.
flags
|=
RPC_FLG_FIRST
;
Header
->
common
.
flags
&=
~
RPC_FLG_LAST
;
while
(
!
(
Header
->
common
.
flags
&
RPC_FLG_LAST
))
{
unsigned
char
auth_pad_len
=
ROUND_UP_AMOUNT
(
BufferLength
,
AUTH_ALIGNMENT
)
;
unsigned
char
auth_pad_len
=
AuthLength
?
ROUND_UP_AMOUNT
(
BufferLength
,
AUTH_ALIGNMENT
)
:
0
;
unsigned
short
pkt_size
=
BufferLength
+
hdr_size
+
alen
+
auth_pad_len
;
/* decide if we need to split the packet into fragments */
...
...
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