GS2 helpers
[mech_eap.git] / export_name_composite.c
index 859baaa..7b094f6 100644 (file)
 
 #include "gssapiP_eap.h"
 
-/*
- * Not sure about this. If we have a generalised representation of composite
- * names, it should be (a) defined in the naming extensions specification
- * and (b) implemented by the mechanism glue.
- */
 OM_uint32
 gss_export_name_composite(OM_uint32 *minor,
                           gss_name_t input_name,
@@ -48,5 +43,6 @@ gss_export_name_composite(OM_uint32 *minor,
     }
 
     return gssEapExportNameInternal(minor, input_name, exported_name,
-                                    EXPORT_NAME_FLAG_OID | EXPORT_NAME_FLAG_ATTRS);
+                                    EXPORT_NAME_FLAG_OID |
+                                    EXPORT_NAME_FLAG_COMPOSITE);
 }