Merge branch 'master' of ssh://moonshot.suchdamage.org:822/srv/git/moonshot
[mech_eap.orig] / display_name_ext.c
index 417f722..76b443a 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.
  */
 
+/*
+ * Parameterized version of gss_display_name(), currently unimplemented.
+ */
+
 #include "gssapiP_eap.h"
 
 OM_uint32
@@ -38,5 +42,10 @@ gss_display_name_ext(OM_uint32 *minor,
                      gss_OID display_as_name_type,
                      gss_buffer_t display_name)
 {
-    GSSEAP_NOT_IMPLEMENTED;
+    *minor = 0;
+
+    display_name->length = 0;
+    display_name->value = NULL;
+
+    return GSS_S_UNAVAILABLE;
 }