disable shib test for now
[mech_eap.orig] / display_name.c
index 96e1613..9ef4314 100644 (file)
@@ -65,7 +65,8 @@ gss_display_name(OM_uint32 *minor,
 
     krb5_free_unparsed_name(krbContext, krbName);
 
-    *output_name_type = GSS_EAP_NT_PRINCIPAL_NAME;
+    if (output_name_type != NULL)
+        *output_name_type = GSS_EAP_NT_PRINCIPAL_NAME;
 
     return GSS_S_COMPLETE;
 }