updated to new krb5 function prototypes

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4019 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-11-16 09:25:07 +00:00
parent b9c16f6cc1
commit e8bb38e6ba
2 changed files with 30 additions and 0 deletions

View File

@@ -67,6 +67,7 @@ init_auth
Authenticator *auth;
krb5_data authenticator;
Checksum cksum;
krb5_enctype enctype;
gssapi_krb5_init ();
@@ -186,8 +187,21 @@ init_auth
goto failure;
}
if ((*context_handle)->auth_context->enctype)
enctype = (*context_handle)->auth_context->enctype;
else {
kret = krb5_keytype_to_etype(gssapi_krb5_context,
(*context_handle)->auth_context->keyblock->keytype,
&enctype);
if (kret)
return kret;
}
kret = krb5_build_authenticator (gssapi_krb5_context,
(*context_handle)->auth_context,
enctype,
cred,
&cksum,
&auth,
@@ -199,6 +213,7 @@ init_auth
}
kret = krb5_build_ap_req (gssapi_krb5_context,
enctype,
cred,
ap_options,
authenticator,