* CCache-glue.c: Delete in_tkt()
authorTom Yu <tlyu@mit.edu>
Wed, 12 Feb 2003 00:06:37 +0000 (00:06 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 12 Feb 2003 00:06:37 +0000 (00:06 +0000)
* change_password.c: Fix incorrect filename in comment.

* g_in_tkt.c (krb_get_in_tkt_preauth): Call krb_in_tkt() rather
than in_tkt().

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

src/lib/krb4/CCache-glue.c
src/lib/krb4/ChangeLog
src/lib/krb4/change_password.c
src/lib/krb4/g_in_tkt.c

index c0423dc30f1f602c1fcf1008ec40031e5ede3fdd..05cb905fa7956b95683b9fc0887a3d2af584c173 100644 (file)
@@ -106,16 +106,6 @@ krb_in_tkt (
         return KSUCCESS;
 }
 
-int KRB5_CALLCONV
-in_tkt(
-    char       *name,
-    char       *inst)
-{
-    char       realm[REALM_SZ];
-    krb_get_lrealm(realm, 1);
-    return krb_in_tkt(name, inst, realm);
-}
-
 int KRB5_CALLCONV
 krb_save_credentials(
     char       *service,
index a91123fb81489ad4418a2663dca856e86744a04e..cdb6c1d4d73956547e51679e614507454fd44444 100644 (file)
@@ -1,5 +1,12 @@
 2003-02-11  Tom Yu  <tlyu@mit.edu>
 
+       * CCache-glue.c: Delete in_tkt().
+
+       * change_password.c: Fix incorrect filename in comment.
+
+       * g_in_tkt.c (krb_get_in_tkt_preauth): Call krb_in_tkt() rather
+       than in_tkt().
+
        * CCache-glue.c (krb_in_tkt): Rename from in_tkt().
        (in_tkt): Implement in terms of krb_in_tkt() to match existing
        Unix and Windows API.  This shouldn't be a problem because it
index 44882eaacdb2967c35310eb63c3d0e7f2f1cf201..a92351e03e2c76eb7f285e1c66ec055eef58d5e0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * g_pw_in_tkt.c
+ * change_password.c
  *
  * Copyright 1987, 1988, 2002 by the Massachusetts Institute of
  * Technology.  All Rights Reserved.
index debfee4f4903ff04e443d8183163190d8cec5d73..a00ee47d95a229c327c347810da18fcee82f8dcf 100644 (file)
@@ -496,7 +496,7 @@ krb_get_in_tkt_preauth(user, instance, realm, service, sinstance, life,
                                              arg, preauth_p, preauth_len,
                                              &creds, &laddr);
        if (retval != KSUCCESS) break;
-       if (in_tkt(user, instance) != KSUCCESS) {
+       if (krb_in_tkt(user, instance, realm) != KSUCCESS) {
            retval = INTK_ERR;
            break;
        }