aboutsummaryrefslogtreecommitdiff
path: root/src/configure.in
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2017-04-29 17:30:36 -0400
committerGreg Hudson <ghudson@mit.edu>2017-05-16 11:57:08 -0400
commit8ca62e54e89e2fbd6a089e8ab20b4e374a486003 (patch)
tree054ea710a4ef1faf04f477edecf608cf69547e98 /src/configure.in
parenta9cbbf0899f270fbb14f63ffbed1b6d542333641 (diff)
downloadkrb5-8ca62e54e89e2fbd6a089e8ab20b4e374a486003.zip
krb5-8ca62e54e89e2fbd6a089e8ab20b4e374a486003.tar.gz
krb5-8ca62e54e89e2fbd6a089e8ab20b4e374a486003.tar.bz2
Add timestamp tests
Add a test program for krb5int_validate_times() covering cases before and across the y2038 boundary. Add a GSSAPI test program to exercise lifetime queries, and tests using it in t_gssapi.py for ticket end times after y2038. Add a new test script t_y2038.py which only runs on platforms with 64-bit time_t to exercise end-user operations across and after y2038. Add an LDAP test case to test storage of post-y2038 timestamps. ticket: 8352
Diffstat (limited to 'src/configure.in')
-rw-r--r--src/configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/configure.in b/src/configure.in
index 65fe7c7..3760536 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -713,6 +713,9 @@ fi
AC_HEADER_TIME
AC_CHECK_TYPE(time_t, long)
+AC_CHECK_SIZEOF(time_t)
+SIZEOF_TIME_T=$ac_cv_sizeof_time_t
+AC_SUBST(SIZEOF_TIME_T)
# Determine where to put the replay cache.