update to new prototype of krb5_timeofday

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7857 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2000-02-06 05:20:51 +00:00
parent 21e02f2046
commit 209565763c
6 changed files with 18 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 1998, 1999 Kungliga Tekniska H<>gskolan
* Copyright (c) 1997 - 2000 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -131,7 +131,7 @@ _krb5_extract_ticket(krb5_context context,
krb5_principal tmp_principal;
int tmp;
time_t tmp_time;
int32_t sec_now;
krb5_timestamp sec_now;
/* compare client */

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 1998, 1999 Kungliga Tekniska H<>gskolan
* Copyright (c) 1997 - 2000 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -88,7 +88,7 @@ init_cred (krb5_context context,
krb5_error_code ret;
krb5_realm *client_realm;
int tmp;
int32_t now;
krb5_timestamp now;
krb5_timeofday (context, &now);
@@ -164,7 +164,7 @@ print_expire (krb5_context context,
{
int i;
LastReq *lr = &rep->enc_part.last_req;
int32_t sec;
krb5_timestamp sec;
time_t t;
krb5_timeofday (context, &sec);

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997 - 1999 Kungliga Tekniska H<>gskolan
* Copyright (c) 1997 - 2000 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -122,7 +122,7 @@ krb5_rd_cred (krb5_context context,
/* check timestamp */
if (auth_context->flags & KRB5_AUTH_CONTEXT_DO_TIME) {
int32_t sec;
krb5_timestamp sec;
krb5_timeofday (context, &sec);

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 1998 Kungliga Tekniska H<>gskolan
* Copyright (c) 1997 - 2000 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -111,7 +111,7 @@ krb5_rd_priv(krb5_context context,
/* check timestamp */
if (auth_context->flags & KRB5_AUTH_CONTEXT_DO_TIME) {
int32_t sec;
krb5_timestamp sec;
krb5_timeofday (context, &sec);
if (part.timestamp == NULL ||

View File

@@ -128,7 +128,7 @@ krb5_decrypt_ticket(krb5_context context,
return ret;
{
int32_t now;
krb5_timestamp now;
time_t start = t.authtime;
krb5_timeofday (context, &now);

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997 Kungliga Tekniska H<>gskolan
* Copyright (c) 1997 - 2000 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -131,7 +131,7 @@ krb5_rd_safe(krb5_context context,
/* check timestamp */
if (auth_context->flags & KRB5_AUTH_CONTEXT_DO_TIME) {
int32_t sec;
krb5_timestamp sec;
krb5_timeofday (context, &sec);