#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,
GSSEAP_KRB_INIT(&krbContext);
GSSEAP_MUTEX_LOCK(&name->mutex);
- /*
- * Don't export a composite name if we don't have any attributes.
- */
- if (composite && !NAME_HAS_ATTRIBUTES(name))
- composite = 0;
-
*minor = krb5_unparse_name(krbContext, name->krbPrincipal, &krbName);
if (*minor != 0) {
major = GSS_S_FAILURE;