projects
/
mech_eap.orig
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update for libradsec API cleanups
[mech_eap.orig]
/
util_mech.c
diff --git
a/util_mech.c
b/util_mech.c
index
717e09b
..
62540ae
100644
(file)
--- a/
util_mech.c
+++ b/
util_mech.c
@@
-105,8
+105,10
@@
gssEapValidateMechs(OM_uint32 *minor,
for (i = 0; i < mechs->count; i++) {
gss_OID oid = &mechs->elements[i];
- if (!gssEapIsConcreteMechanismOid(oid))
+ if (!gssEapIsConcreteMechanismOid(oid)) {
+ *minor = GSSEAP_WRONG_MECH;
return GSS_S_BAD_MECH;
+ }
}
return GSS_S_COMPLETE;