summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
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)
{