goto cleanup;
}
- if (input_name->avps != NULL) {
- major = radiusDuplicateAVPs(minor, input_name->avps, &name->avps);
- if (GSS_ERROR(major))
- goto cleanup;
- }
-
- if (input_name->assertion != NULL) {
- major = samlDuplicateAssertion(minor, input_name->assertion,
- &name->assertion);
+ if (input_name->attrCtx != NULL) {
+ major = gssEapDuplicateAttrContext(minor, input_name, name);
if (GSS_ERROR(major))
goto cleanup;
}