(krb5_build_ap_req): new parameter `enctype'

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4012 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-11-16 06:24:24 +00:00
parent fb718f33a9
commit 718de3288f

View File

@@ -42,6 +42,7 @@ RCSID("$Id$");
krb5_error_code krb5_error_code
krb5_build_ap_req (krb5_context context, krb5_build_ap_req (krb5_context context,
krb5_enctype enctype,
krb5_creds *cred, krb5_creds *cred,
krb5_flags ap_options, krb5_flags ap_options,
krb5_data authenticator, krb5_data authenticator,
@@ -66,7 +67,7 @@ krb5_build_ap_req (krb5_context context,
copy_EncryptedData(&t.enc_part, &ap.ticket.enc_part); copy_EncryptedData(&t.enc_part, &ap.ticket.enc_part);
free_Ticket(&t); free_Ticket(&t);
ap.authenticator.etype = ap.ticket.enc_part.etype; ap.authenticator.etype = enctype;
ap.authenticator.kvno = NULL; ap.authenticator.kvno = NULL;
ap.authenticator.cipher = authenticator; ap.authenticator.cipher = authenticator;