* CCache-glue.c (krb_in_tkt): Rename from in_tkt().
authorTom Yu <tlyu@mit.edu>
Tue, 11 Feb 2003 19:50:18 +0000 (19:50 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 11 Feb 2003 19:50:18 +0000 (19:50 +0000)
(in_tkt): Implement in terms of krb_in_tkt() to match existing
Unix and Windows API.  This shouldn't be a problem because it
appears to be considered an internal API on Mac.

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

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

index 1a9d7ed0937f25502cc7ae0d053560c075cf18d9..c0423dc30f1f602c1fcf1008ec40031e5ede3fdd 100644 (file)
@@ -73,8 +73,8 @@ Boolean                       gHaveDefaultPrincipal = false;
  * is the right one to blow away.
  */
 
-int
-in_tkt (
+int KRB5_CALLCONV
+krb_in_tkt (
        char*           pname,
        char*           pinst,
        char*           realm)
@@ -106,6 +106,16 @@ 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 89609dbba0b14fdf74d5e4171ed538cec96cee21..a91123fb81489ad4418a2663dca856e86744a04e 100644 (file)
@@ -1,3 +1,10 @@
+2003-02-11  Tom Yu  <tlyu@mit.edu>
+
+       * 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
+       appears to be considered an internal API on Mac.
+
 2003-02-10  Tom Yu  <tlyu@mit.edu>
 
        * password_to_key.c (krb5_passwd_to_key): Replace snprintf() call