summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-12 18:41:57 +1100
committerStefan Metzmacher <metze@samba.org>2012-04-03 17:47:32 +0200
commite01dc1c7bfc0ff0640d0223f7644b8123cc07f2e (patch)
treef72226679acb63b2b2f2e6f8f50cc74c084d3aa7
parent0e2d659c945c000c9c3e29bb23a9fa24b8f59dc3 (diff)
downloadsamba-e01dc1c7bfc0ff0640d0223f7644b8123cc07f2e.tar.gz
samba-e01dc1c7bfc0ff0640d0223f7644b8123cc07f2e.tar.bz2
samba-e01dc1c7bfc0ff0640d0223f7644b8123cc07f2e.zip
s3-krb5 Remove unused get_enctype_from_ap_req
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source3/libsmb/clikrb5.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c
index 957557dbf0..12121b3d78 100644
--- a/source3/libsmb/clikrb5.c
+++ b/source3/libsmb/clikrb5.c
@@ -699,16 +699,6 @@ static int get_kvno_from_ap_req(krb5_ap_req *ap_req)
return 0;
}
-static krb5_enctype get_enctype_from_ap_req(krb5_ap_req *ap_req)
-{
-#ifdef HAVE_ETYPE_IN_ENCRYPTEDDATA /* Heimdal */
- return ap_req->ticket.enc_part.etype;
-#else /* MIT */
- return ap_req->ticket->enc_part.enctype;
-#endif
-}
-#endif /* HAVE_KRB5_DECODE_AP_REQ */
-
/* Prototypes */
krb5_error_code smb_krb5_renew_ticket(const char *ccache_string, /* FILE:/tmp/krb5cc_0 */