summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-01-05 11:34:12 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-01-10 21:50:07 +0100
commitcfe68f2d5fbd749c3dce7a1a5fa67d2d0a631bf2 (patch)
tree1634ea90b85f54d9c2f126d716ed2f8505cbbf13 /source3/libsmb
parent0c6af1e2da4619634c3806b5c0ee022bef935bb5 (diff)
downloadsamba-cfe68f2d5fbd749c3dce7a1a5fa67d2d0a631bf2.tar.gz
samba-cfe68f2d5fbd749c3dce7a1a5fa67d2d0a631bf2.tar.bz2
samba-cfe68f2d5fbd749c3dce7a1a5fa67d2d0a631bf2.zip
krb5: Require krb5_set_real_time is available to build with krb5
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clikrb5.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c
index c0d822e5da..9af3e49d11 100644
--- a/source3/libsmb/clikrb5.c
+++ b/source3/libsmb/clikrb5.c
@@ -50,26 +50,6 @@ krb5_error_code krb5_auth_con_set_req_cksumtype(
krb5_cksumtype cksumtype);
#endif
-#ifndef HAVE_KRB5_SET_REAL_TIME
-/*
- * This function is not in the Heimdal mainline.
- */
- krb5_error_code krb5_set_real_time(krb5_context context, int32_t seconds, int32_t microseconds)
-{
- krb5_error_code ret;
- int32_t sec, usec;
-
- ret = krb5_us_timeofday(context, &sec, &usec);
- if (ret)
- return ret;
-
- context->kdc_sec_offset = seconds - sec;
- context->kdc_usec_offset = microseconds - usec;
-
- return 0;
-}
-#endif
-
#if !defined(HAVE_KRB5_SET_DEFAULT_TGS_KTYPES)
#if defined(HAVE_KRB5_SET_DEFAULT_TGS_ENCTYPES)