make gss_name_t an opaque type

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17736 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-06-29 07:27:26 +00:00
parent b79c379578
commit 03567db502
16 changed files with 154 additions and 127 deletions

View File

@@ -41,14 +41,13 @@ OM_uint32 _gsskrb5_export_name
gss_buffer_t exported_name
)
{
krb5_const_principal princ = (krb5_const_principal)input_name;
krb5_error_code kret;
char *buf, *name;
size_t len;
GSSAPI_KRB5_INIT ();
kret = krb5_unparse_name (_gsskrb5_context,
input_name,
&name);
kret = krb5_unparse_name (_gsskrb5_context, princ, &name);
if (kret) {
*minor_status = kret;
_gsskrb5_set_error_string ();