Removed extra eblock argument from call to krb5_encode_kdc_rep
authorTheodore Tso <tytso@mit.edu>
Wed, 29 Nov 1995 18:32:37 +0000 (18:32 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 29 Nov 1995 18:32:37 +0000 (18:32 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7142 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/ChangeLog
src/kdc/do_tgs_req.c

index b85fa0268e290621f0b6622bd168ad3d11deeef8..7b6e747db487e81b2a9f04526c3013549ce8acb6 100644 (file)
@@ -1,3 +1,8 @@
+Wed Nov 29 13:31:39 1995  Theodore Y. Ts'o  <tytso@dcl>
+
+       * do_tgs_req.c (process_tgs_req): Removed extra eblock argument
+               from call to krb5_encode_kdc_rep.
+
 Fri Nov 17 22:41:37 1995  Theodore Y. Ts'o  <tytso@dcl>
 
        * do_as_req.c (process_as_req): Removed extra eblock argument from
index 33aa25a3ef1ec1d1e217ef146fede5ef2abf4001..0ea2df1cd6129f9a43dbf0c56a9cc591c1493596 100644 (file)
@@ -533,7 +533,6 @@ tgt_again:
        ticket_reply.enc_part.kvno = 0;
        ticket_reply.enc_part.enctype =
                request->second_ticket[st_idx]->enc_part2->session->enctype;
-       krb5_use_enctype(kdc_context, &eblock, ticket_reply.enc_part.enctype);
        if ((errcode = krb5_encrypt_tkt_part(kdc_context, 
                                            request->second_ticket[st_idx]->enc_part2->session,
                                            &ticket_reply))) {
@@ -610,12 +609,10 @@ tgt_again:
 
     reply.enc_part.enctype = subkey ? subkey->enctype :
                    header_ticket->enc_part2->session->enctype;
-    krb5_use_enctype(kdc_context, &eblock, reply.enc_part.enctype);
-
     errcode = krb5_encode_kdc_rep(kdc_context, KRB5_TGS_REP, &reply_encpart, 
-                                &eblock, subkey ? subkey :
-                                header_ticket->enc_part2->session,
-                                &reply, response);
+                                 subkey ? subkey :
+                                 header_ticket->enc_part2->session,
+                                 &reply, response);
     if (errcode) {
        status = "ENCODE_KDC_REP";
     } else {