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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user