Luke Howard
8a4ce9950f
krb5: add krb5_time_abs() function
...
From Apple drop, add krb5_time_abs() which returns the absolute difference
between two timestamps
2021-08-09 21:46:24 +10:00
Love Hornquist Astrand
687db64c56
Patch from Secure Endpoints/Asanka Herath for windows support
2009-12-21 08:45:28 +01:00
Love Hörnquist Åstrand
942a821fab
remove RCSID
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25171 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-04 06:17:40 +00:00
Love Hörnquist Åstrand
6937d41a02
remove trailing whitespace
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898
switch to utf8 encoding of all files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
1bf90f0016
(krb5_set_real_time): handle negative usec
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23260 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-21 15:22:37 +00:00
Love Hörnquist Åstrand
8311097ae4
(krb5_string_to_deltat): default to "s" again, MIT's behavior was
...
actually that it failed to parse the number (and thus used the
default). Even better, ticket_lifetime (that was a consumer supposed a
of the interface) was documented but never implemented, when it was
implemented, people configuraiton files started to fail.
Also, use KRB5_DELTAT_BADFORMAT as a failure code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14308 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-13 17:57:11 +00:00
Love Hörnquist Åstrand
00e45867e6
(krb5_string_to_deltat): set default unit to minute for compatibility
...
with MIT Kerberos.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14273 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-30 11:19:46 +00:00
Johan Danielsson
a61e4d44bd
(krb5_format_time): check return value from localtime and strftime
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14248 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-21 15:47:37 +00:00
Love Hörnquist Åstrand
91351971f7
add KRB5_LIB_FUNCTION to all exported functions
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13863 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-25 21:46:46 +00:00
Love Hörnquist Åstrand
f6ef3a180e
improve comment for krb5_set_real_time
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12396 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-24 05:09:42 +00:00
Love Hörnquist Åstrand
ca8c289837
(krb5_set_real_time): fix comment and make it work
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12390 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-22 20:35:27 +00:00
Love Hörnquist Åstrand
9448a346db
implement krb5_set_real_time, used by SAMBA, requested by Luke Howard <lukeh@PADL.COM>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12389 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-22 20:26:47 +00:00
Johan Danielsson
b223f3554e
(krb5_us_timeofday): make the sec parameter a krb5_timestamp
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12135 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-25 17:02:54 +00:00
Johan Danielsson
ac0386017d
krb5_string_to_deltat
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9834 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-02 10:06:11 +00:00
Johan Danielsson
e8e1dc71bf
(krb5_format_time): new function to format time
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8488 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-29 08:20:52 +00:00
Assar Westerlund
78e8e4627e
(krb5_timeofday): use krb5_timestamp' instead of
int32_t'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7859 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-06 05:21:53 +00:00
Johan Danielsson
c5b916ca6f
remove advertising clause
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7464 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 17:05:13 +00:00
Assar Westerlund
f744d9107e
new file
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2925 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-11 23:33:49 +00:00