summaryrefslogtreecommitdiff
path: root/source3/libsmb/clikrb5.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-12 18:31:42 +1100
committerStefan Metzmacher <metze@samba.org>2012-04-03 17:47:32 +0200
commitfc8c533aba1eaacd4a0f1f34411452347510c488 (patch)
tree9fd174465c2ea17ced7c355d47fe0eaea4ef5740 /source3/libsmb/clikrb5.c
parentb1c4f1ddfc6711463b40b8d09bbda0d1ecc676db (diff)
downloadsamba-fc8c533aba1eaacd4a0f1f34411452347510c488.tar.gz
samba-fc8c533aba1eaacd4a0f1f34411452347510c488.tar.bz2
samba-fc8c533aba1eaacd4a0f1f34411452347510c488.zip
s3-krb5: Remove unused get_authtime_from_tkt
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/libsmb/clikrb5.c')
-rw-r--r--source3/libsmb/clikrb5.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c
index 5183b083fc..ef1fed9f68 100644
--- a/source3/libsmb/clikrb5.c
+++ b/source3/libsmb/clikrb5.c
@@ -794,15 +794,6 @@ done:
}
#endif
- time_t get_authtime_from_tkt(krb5_ticket *tkt)
-{
-#if defined(HAVE_KRB5_TKT_ENC_PART2)
- return tkt->enc_part2->times.authtime;
-#else
- return tkt->ticket.authtime;
-#endif
-}
-
#ifdef HAVE_KRB5_DECODE_AP_REQ /* Heimdal */
static int get_kvno_from_ap_req(krb5_ap_req *ap_req)
{