projects
/
mech_eap.orig
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
try to guard against multiple shibboleth library initializations
[mech_eap.orig]
/
accept_sec_context.c
diff --git
a/accept_sec_context.c
b/accept_sec_context.c
index
bac9130
..
0619490
100644
(file)
--- a/
accept_sec_context.c
+++ b/
accept_sec_context.c
@@
-72,7
+72,7
@@
acceptReadyEap(OM_uint32 *minor, gss_ctx_id_t ctx, gss_cred_id_t cred)
major = gssEapRadiusGetRawAvp(minor, ctx->acceptorCtx.vps,
PW_USER_NAME, 0, &vp);
- if (major == GSS_S_COMPLETE) {
+ if (major == GSS_S_COMPLETE
&& vp->length
) {
nameBuf.length = vp->length;
nameBuf.value = vp->vp_strvalue;
} else {