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,13 +41,13 @@ OM_uint32 _gsskrb5_duplicate_name (
gss_name_t * dest_name
)
{
krb5_const_principal src = (krb5_const_principal)src_name;
krb5_principal *dest = (krb5_principal *)dest_name;
krb5_error_code kret;
GSSAPI_KRB5_INIT ();
kret = krb5_copy_principal (_gsskrb5_context,
src_name,
dest_name);
kret = krb5_copy_principal (_gsskrb5_context, src, dest);
if (kret) {
*minor_status = kret;
_gsskrb5_set_error_string ();