summaryrefslogtreecommitdiff
path: root/kerberosIV/krb/get_ad_tkt.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1998-05-18 00:54:04 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1998-05-18 00:54:04 +0000
commitd7bf93263a06e07fe2ff8604214eb69d26642ac0 (patch)
treefe20b87a500e01c0cdb061aafadcba5635a075c1 /kerberosIV/krb/get_ad_tkt.c
parent2816042c4c0faa737798cb877bbcdcebcda167d6 (diff)
update to a fresher libkrb
Diffstat (limited to 'kerberosIV/krb/get_ad_tkt.c')
-rw-r--r--kerberosIV/krb/get_ad_tkt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kerberosIV/krb/get_ad_tkt.c b/kerberosIV/krb/get_ad_tkt.c
index 861cd0e8c96..0308f2eae71 100644
--- a/kerberosIV/krb/get_ad_tkt.c
+++ b/kerberosIV/krb/get_ad_tkt.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: get_ad_tkt.c,v 1.5 1998/03/25 21:50:10 art Exp $ */
-/* $KTH: get_ad_tkt.c,v 1.16 1997/05/30 17:43:34 bg Exp $ */
+/* $OpenBSD: get_ad_tkt.c,v 1.6 1998/05/18 00:53:38 art Exp $ */
+/* $KTH: get_ad_tkt.c,v 1.18 1998/02/19 19:13:29 joda Exp $ */
/*
* Copyright (c) 1995, 1996, 1997 Kungliga Tekniska Högskolan
@@ -179,7 +179,7 @@ get_ad_tkt(char *service, char *sinstance, char *realm, int lifetime)
strcmp(cred.realm, realm)) /* not what we asked for */
return INTK_ERR; /* we need a better code here XXX */
- gettimeofday(&tv, NULL);
+ krb_kdctimeofday(&tv);
if (abs((int)(tv.tv_sec - cred.issue_date)) > CLOCK_SKEW) {
return RD_AP_TIME; /* XXX should probably be better code */
}