projects
/
mod_auth_kerb.cvs
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d6db8e8
)
let GSS error code propagate properly to the caller
author
kouril
<kouril>
Fri, 19 Dec 2003 15:27:40 +0000
(15:27 +0000)
committer
kouril
<kouril>
Fri, 19 Dec 2003 15:27:40 +0000
(15:27 +0000)
spnegokrb5/accept_sec_context.c
patch
|
blob
|
history
diff --git
a/spnegokrb5/accept_sec_context.c
b/spnegokrb5/accept_sec_context.c
index
170f55a
..
517186f
100644
(file)
--- a/
spnegokrb5/accept_sec_context.c
+++ b/
spnegokrb5/accept_sec_context.c
@@
-178,9
+178,9
@@
OM_uint32 gss_accept_sec_context_spnego
{
NegTokenInit init_token;
OM_uint32 major_status;
{
NegTokenInit init_token;
OM_uint32 major_status;
+ OM_uint32 minor_status2;
gss_buffer_desc ibuf, obuf;
gss_buffer_t ot = NULL;
gss_buffer_desc ibuf, obuf;
gss_buffer_t ot = NULL;
- OM_uint32 minor;
unsigned char *buf;
size_t buf_size;
size_t len, taglen, ni_len;
unsigned char *buf;
size_t buf_size;
size_t len, taglen, ni_len;
@@
-232,7
+232,7
@@
OM_uint32 gss_accept_sec_context_spnego
ibuf.length = init_token.mechToken->length;
ibuf.value = init_token.mechToken->data;
ibuf.length = init_token.mechToken->length;
ibuf.value = init_token.mechToken->data;
- major_status = gss_accept_sec_context(
&minor
,
+ major_status = gss_accept_sec_context(
minor_status
,
context_handle,
acceptor_cred_handle,
&ibuf,
context_handle,
acceptor_cred_handle,
&ibuf,
@@
-252,7
+252,7
@@
OM_uint32 gss_accept_sec_context_spnego
ret = send_accept (minor_status, output_token, ot);
if (ot != NULL)
ret = send_accept (minor_status, output_token, ot);
if (ot != NULL)
- gss_release_buffer(&minor, ot);
+ gss_release_buffer(&minor
_status2
, ot);
return ret;
}
return ret;
}