Instead of using the TGT session key type, use the application session
authorRichard Basch <probe@mit.edu>
Tue, 5 Dec 1995 03:38:02 +0000 (03:38 +0000)
committerRichard Basch <probe@mit.edu>
Tue, 5 Dec 1995 03:38:02 +0000 (03:38 +0000)
key type.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7165 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/send_tgs.c

index 1481c555d18c10c75ca2aa233f3e2336695ca8b5..5a26092f7538796d19ea78adf3a4facd2110ca06 100644 (file)
@@ -269,7 +269,7 @@ krb5_send_tgs(context, kdcoptions, timestruct, ktypes, sname, addrs,
        tgsreq.ktype = (krb5_enctype *)ktypes;
     } else {
         /* Get the default ktypes */
-        krb5_get_default_in_tkt_ktypes(context, &(tgsreq.ktype));
+        krb5_get_tgs_ktypes(context, sname, &(tgsreq.ktype));
        for(tgsreq.nktypes = 0; tgsreq.ktype[tgsreq.nktypes]; tgsreq.nktypes++);
     }