projects
/
mech_eap.orig
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More work on SAML code
[mech_eap.orig]
/
set_name_attribute.c
diff --git
a/set_name_attribute.c
b/set_name_attribute.c
index
1c50037
..
9807557
100644
(file)
--- a/
set_name_attribute.c
+++ b/
set_name_attribute.c
@@
-55,9
+55,8
@@
gss_set_name_attribute(OM_uint32 *minor,
goto cleanup;
type = gssEapAttributePrefixToType(&prefix);
goto cleanup;
type = gssEapAttributePrefixToType(&prefix);
- if (type != ATTR_TYPE_SAML_AAA_ASSERTION) {
- major = samlSetAttribute(minor, name->samlCtx, complete,
- attr, value);
+ if (type == ATTR_TYPE_NONE) {
+ major = samlSetAttribute(minor, name, complete, attr, value);
} else {
major = GSS_S_UNAVAILABLE;
}
} else {
major = GSS_S_UNAVAILABLE;
}