comment out dumping code
[mech_eap.orig] / display_name.c
index 0886263..427dcf2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2010, JANET(UK)
+ * Copyright (c) 2011, JANET(UK)
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * SUCH DAMAGE.
  */
 
+/*
+ * Wrapper for "displaying" (returning string representation of) a name.
+ */
+
 #include "gssapiP_eap.h"
 
 OM_uint32
 gss_display_name(OM_uint32 *minor,
-                 gss_name_t input_name,
+                 gss_name_t name,
                  gss_buffer_t output_name_buffer,
                  gss_OID *output_name_type)
 {
-    GSSEAP_NOT_IMPLEMENTED;
+    /* Lock not required as long as attributes are not used */
+    return gssEapDisplayName(minor, name, output_name_buffer,
+                             output_name_type);
 }