From dc2560bc11ad38e94b0267ad819c5b0239e83d78 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Wed, 8 Nov 1995 22:54:58 +0000 Subject: [PATCH] Change use of krb5_clockskew to be context->clockskew git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7064 dc483132-0cff-0310-8789-dd5450dbe970 --- src/clients/ksu/ChangeLog | 5 +++++ src/clients/ksu/ccache.c | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/clients/ksu/ChangeLog b/src/clients/ksu/ChangeLog index b151fcf7f..5870baec8 100644 --- a/src/clients/ksu/ChangeLog +++ b/src/clients/ksu/ChangeLog @@ -1,3 +1,8 @@ +Wed Nov 8 17:54:11 1995 Theodore Y. Ts'o + + * ccache.c (krb5_check_exp): Change use of krb5_clockskew to be + context->clockskew. + Mon Oct 9 23:14:33 1995 Ezra Peisach * main.c (main): Handle case when ticket cache name does not diff --git a/src/clients/ksu/ccache.c b/src/clients/ksu/ccache.c index f0946e23a..0282792c5 100644 --- a/src/clients/ksu/ccache.c +++ b/src/clients/ksu/ccache.c @@ -269,8 +269,6 @@ int chunk_count = 1; } -extern krb5_deltat krb5_clockskew; - krb5_error_code krb5_check_exp(context, tkt_time) krb5_context context; krb5_ticket_times tkt_time; @@ -283,14 +281,14 @@ krb5_timestamp currenttime; } if (auth_debug){ fprintf(stderr,"krb5_check_exp: the krb5_clockskew is %d \n", - krb5_clockskew); + context->clockskew); fprintf(stderr,"krb5_check_exp: currenttime - endtime %d \n", (currenttime - tkt_time.endtime )); } - if (currenttime - tkt_time.endtime > krb5_clockskew){ + if (currenttime - tkt_time.endtime > context->clockskew){ retval = KRB5KRB_AP_ERR_TKT_EXPIRED ; return retval; } -- 2.26.2