summaryrefslogtreecommitdiff
path: root/source3
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
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')
-rw-r--r--source3/include/krb5_protos.h1
-rw-r--r--source3/libsmb/clikrb5.c9
2 files changed, 0 insertions, 10 deletions
diff --git a/source3/include/krb5_protos.h b/source3/include/krb5_protos.h
index f3fcb619d5..2b2019d853 100644
--- a/source3/include/krb5_protos.h
+++ b/source3/include/krb5_protos.h
@@ -76,7 +76,6 @@ krb5_principal kerberos_fetch_salt_princ_for_host_princ(krb5_context context, kr
void kerberos_set_creds_enctype(krb5_creds *pcreds, int enctype);
bool kerberos_compatible_enctypes(krb5_context context, krb5_enctype enctype1, krb5_enctype enctype2);
void kerberos_free_data_contents(krb5_context context, krb5_data *pdata);
-time_t get_authtime_from_tkt(krb5_ticket *tkt);
krb5_error_code smb_krb5_get_keyinfo_from_ap_req(krb5_context context,
const krb5_data *inbuf,
krb5_kvno *kvno,
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)
{