Use `output_name_type'

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2294 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-07-14 12:25:03 +00:00
parent f90fd20caa
commit aa7d68fde9
2 changed files with 4 additions and 0 deletions

View File

@@ -28,5 +28,7 @@ OM_uint32 gss_display_name
}
memcpy (output_name_buffer->value, buf, len);
free (buf);
if (output_name_type)
*output_name_type = GSS_KRB5_NT_PRINCIPAL_NAME;
return GSS_S_COMPLETE;
}

View File

@@ -28,5 +28,7 @@ OM_uint32 gss_display_name
}
memcpy (output_name_buffer->value, buf, len);
free (buf);
if (output_name_type)
*output_name_type = GSS_KRB5_NT_PRINCIPAL_NAME;
return GSS_S_COMPLETE;
}