- major = decomposeAttributeName(minor, attr, &prefix, &suffix);
- if (GSS_ERROR(major))
- goto cleanup;
-
- type = gssEapAttributePrefixToType(&prefix);
- if (type == ATTR_TYPE_NONE) {
- major = samlSetAttribute(minor, name, complete, attr, value);
- } else {
- major = GSS_S_UNAVAILABLE;
- }
+ major = gssEapSetNameAttribute(minor, name, complete, attr, value);