summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-12 18:44:52 +1100
committerStefan Metzmacher <metze@samba.org>2012-04-03 17:47:32 +0200
commite5684b3c6f1b42e54582f0791c61abdf126cb876 (patch)
tree6cfd647881e61ebd7dab8f4e58a2ffa977e7d397 /source3/libsmb
parente01dc1c7bfc0ff0640d0223f7644b8123cc07f2e (diff)
downloadsamba-e5684b3c6f1b42e54582f0791c61abdf126cb876.tar.gz
samba-e5684b3c6f1b42e54582f0791c61abdf126cb876.tar.bz2
samba-e5684b3c6f1b42e54582f0791c61abdf126cb876.zip
s3-krb5 Remove unused get_kvno_from_ap_req()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clikrb5.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c
index 12121b3d78..9e03b30c35 100644
--- a/source3/libsmb/clikrb5.c
+++ b/source3/libsmb/clikrb5.c
@@ -686,19 +686,6 @@ done:
}
#endif
-#ifdef HAVE_KRB5_DECODE_AP_REQ /* Heimdal */
-static int get_kvno_from_ap_req(krb5_ap_req *ap_req)
-{
-#ifdef HAVE_TICKET_POINTER_IN_KRB5_AP_REQ /* MIT */
- if (ap_req->ticket->enc_part.kvno)
- return ap_req->ticket->enc_part.kvno;
-#else /* Heimdal */
- if (ap_req->ticket.enc_part.kvno)
- return *ap_req->ticket.enc_part.kvno;
-#endif
- return 0;
-}
-
/* Prototypes */
krb5_error_code smb_krb5_renew_ticket(const char *ccache_string, /* FILE:/tmp/krb5cc_0 */