Change use of krb5_clockskew to be context->clockskew
authorTheodore Tso <tytso@mit.edu>
Wed, 8 Nov 1995 22:54:58 +0000 (22:54 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 8 Nov 1995 22:54:58 +0000 (22:54 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7064 dc483132-0cff-0310-8789-dd5450dbe970

src/clients/ksu/ChangeLog
src/clients/ksu/ccache.c

index b151fcf7f68dfcac663e1786045722ccaeb00b1d..5870baec8536c78bc401b6d1c27926edcf6c63f9 100644 (file)
@@ -1,3 +1,8 @@
+Wed Nov  8 17:54:11 1995  Theodore Y. Ts'o  <tytso@dcl>
+
+       * ccache.c (krb5_check_exp): Change use of krb5_clockskew to be
+               context->clockskew.
+
 Mon Oct  9 23:14:33 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
 
        * main.c (main): Handle case when ticket cache name does not
index f0946e23af006d3ff0f8c8386487fe50e90616f7..0282792c50519e0c771ee5225404ff5260c3c778 100644 (file)
@@ -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;
        }