Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
4d0c3f7b
Commit
4d0c3f7b
authored
Feb 01, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 01, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kerberos: In unixlib, don't use Windows long type.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d963d056
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
unixlib.c
dlls/kerberos/unixlib.c
+3
-3
unixlib.h
dlls/kerberos/unixlib.h
+2
-2
No files found.
dlls/kerberos/unixlib.c
View file @
4d0c3f7b
...
...
@@ -825,7 +825,7 @@ static NTSTATUS query_context_attributes( void *args )
return
SEC_E_UNSUPPORTED_FUNCTION
;
}
static
NTSTATUS
seal_message_vector
(
gss_ctx_id_t
ctx
,
SecBufferDesc
*
msg
,
ULONG
qop
)
static
NTSTATUS
seal_message_vector
(
gss_ctx_id_t
ctx
,
SecBufferDesc
*
msg
,
unsigned
qop
)
{
gss_iov_buffer_desc
iov
[
4
];
OM_uint32
ret
,
minor_status
;
...
...
@@ -874,7 +874,7 @@ static NTSTATUS seal_message_vector( gss_ctx_id_t ctx, SecBufferDesc *msg, ULONG
return
status_gss_to_sspi
(
ret
);
}
static
NTSTATUS
seal_message_no_vector
(
gss_ctx_id_t
ctx
,
SecBufferDesc
*
msg
,
ULONG
qop
)
static
NTSTATUS
seal_message_no_vector
(
gss_ctx_id_t
ctx
,
SecBufferDesc
*
msg
,
unsigned
qop
)
{
gss_buffer_desc
input
,
output
;
OM_uint32
ret
,
minor_status
;
...
...
@@ -902,7 +902,7 @@ static NTSTATUS seal_message_no_vector( gss_ctx_id_t ctx, SecBufferDesc *msg, UL
if
(
GSS_ERROR
(
ret
))
trace_gss_status
(
ret
,
minor_status
);
if
(
ret
==
GSS_S_COMPLETE
)
{
DWORD
len_data
=
msg
->
pBuffers
[
data_idx
].
cbBuffer
,
len_token
=
msg
->
pBuffers
[
token_idx
].
cbBuffer
;
unsigned
len_data
=
msg
->
pBuffers
[
data_idx
].
cbBuffer
,
len_token
=
msg
->
pBuffers
[
token_idx
].
cbBuffer
;
if
(
len_token
<
output
.
length
-
len_data
)
{
TRACE
(
"buffer too small %lu > %u
\n
"
,
(
SIZE_T
)
output
.
length
-
len_data
,
len_token
);
...
...
dlls/kerberos/unixlib.h
View file @
4d0c3f7b
...
...
@@ -66,7 +66,7 @@ struct make_signature_params
struct
query_context_attributes_params
{
LSA_SEC_HANDLE
context
;
ULONG
attr
;
unsigned
attr
;
void
*
buf
;
};
...
...
@@ -80,7 +80,7 @@ struct seal_message_params
{
LSA_SEC_HANDLE
context
;
SecBufferDesc
*
msg
;
ULONG
qop
;
unsigned
qop
;
};
struct
unseal_message_params
...
...
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