projects
/
mech_eap.orig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
203b509
)
Don't promote bindings unwrap failure to GSS_S_BAD_BINDINGS
author
Luke Howard
<lukeh@padl.com>
Sat, 12 Mar 2011 04:59:44 +0000
(15:59 +1100)
committer
Luke Howard
<lukeh@padl.com>
Sat, 12 Mar 2011 04:59:44 +0000
(15:59 +1100)
accept_sec_context.c
patch
|
blob
|
history
diff --git
a/accept_sec_context.c
b/accept_sec_context.c
index
5da5ea6
..
9036c85
100644
(file)
--- a/
accept_sec_context.c
+++ b/
accept_sec_context.c
@@
-624,7
+624,7
@@
eapGssSmAcceptGssChannelBindings(OM_uint32 *minor,
major = gssEapUnwrapOrVerifyMIC(minor, ctx, NULL, NULL,
iov, 2, TOK_TYPE_WRAP);
if (GSS_ERROR(major))
- return
GSS_S_BAD_BINDINGS
;
+ return
major
;
if (chanBindings != GSS_C_NO_CHANNEL_BINDINGS &&
!bufferEqual(&iov[0].buffer, &chanBindings->application_data)) {