From 45fc7d02ed105515c6347b52c19e01f45e415239 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Tue, 11 Feb 2003 19:50:18 +0000 Subject: [PATCH] * 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. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15180 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb4/CCache-glue.c | 14 ++++++++++++-- src/lib/krb4/ChangeLog | 7 +++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/src/lib/krb4/CCache-glue.c b/src/lib/krb4/CCache-glue.c index 1a9d7ed09..c0423dc30 100644 --- a/src/lib/krb4/CCache-glue.c +++ b/src/lib/krb4/CCache-glue.c @@ -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, diff --git a/src/lib/krb4/ChangeLog b/src/lib/krb4/ChangeLog index 89609dbba..a91123fb8 100644 --- a/src/lib/krb4/ChangeLog +++ b/src/lib/krb4/ChangeLog @@ -1,3 +1,10 @@ +2003-02-11 Tom Yu + + * 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 * password_to_key.c (krb5_passwd_to_key): Replace snprintf() call -- 2.26.2