projects
/
mech_eap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Better error reporting through com_err
[mech_eap.git]
/
inquire_attrs_for_mech.c
diff --git
a/inquire_attrs_for_mech.c
b/inquire_attrs_for_mech.c
index
fdd8893
..
a40e63e
100644
(file)
--- a/
inquire_attrs_for_mech.c
+++ b/
inquire_attrs_for_mech.c
@@
-58,8
+58,10
@@
gss_inquire_attrs_for_mech(OM_uint32 *minor,
if (known_mech_attrs != NULL)
*known_mech_attrs = GSS_C_NO_OID_SET;
if (known_mech_attrs != NULL)
*known_mech_attrs = GSS_C_NO_OID_SET;
- if (!gssEapIsConcreteMechanismOid((const gss_OID)mech_oid))
+ if (!gssEapIsConcreteMechanismOid((const gss_OID)mech_oid)) {
+ *minor = GSSEAP_WRONG_MECH;
return GSS_S_BAD_MECH;
return GSS_S_BAD_MECH;
+ }
if (mech_attrs != NULL) {
major = gss_create_empty_oid_set(minor, mech_attrs);
if (mech_attrs != NULL) {
major = gss_create_empty_oid_set(minor, mech_attrs);