From 718de3288fbf75fd88bd691024a4bd8b2bcdda4b Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sun, 16 Nov 1997 06:24:24 +0000 Subject: [PATCH] (krb5_build_ap_req): new parameter `enctype' git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4012 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/build_ap_req.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/krb5/build_ap_req.c b/lib/krb5/build_ap_req.c index c15995a3d..d2b2203ca 100644 --- a/lib/krb5/build_ap_req.c +++ b/lib/krb5/build_ap_req.c @@ -42,6 +42,7 @@ RCSID("$Id$"); krb5_error_code krb5_build_ap_req (krb5_context context, + krb5_enctype enctype, krb5_creds *cred, krb5_flags ap_options, krb5_data authenticator, @@ -66,7 +67,7 @@ krb5_build_ap_req (krb5_context context, copy_EncryptedData(&t.enc_part, &ap.ticket.enc_part); free_Ticket(&t); - ap.authenticator.etype = ap.ticket.enc_part.etype; + ap.authenticator.etype = enctype; ap.authenticator.kvno = NULL; ap.authenticator.cipher = authenticator;