summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-11-28 21:11:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:11 -0500
commite6467907eda25a7aea3b8fa75754ab6b6e06272a (patch)
treeb85778484a89f1dc68fc9b444ad9432c97939137 /source3/libsmb
parentfb1430d6c93fe25d1f14c62cb82c05c02d12333f (diff)
downloadsamba-e6467907eda25a7aea3b8fa75754ab6b6e06272a.tar.gz
samba-e6467907eda25a7aea3b8fa75754ab6b6e06272a.tar.bz2
samba-e6467907eda25a7aea3b8fa75754ab6b6e06272a.zip
r19939: ,fix compile warning about unused functions when not using heimdal
(This used to be commit f53983079bc285ad8ced8fc4dd40df66fad13718)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clikrb5.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c
index 14b5285e45..4092b4b2b9 100644
--- a/source3/libsmb/clikrb5.c
+++ b/source3/libsmb/clikrb5.c
@@ -852,6 +852,7 @@ failed:
#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 */
@@ -872,6 +873,7 @@ static krb5_enctype get_enctype_from_ap_req(krb5_ap_req *ap_req)
return ap_req->ticket->enc_part.enctype;
#endif
}
+#endif /* HAVE_KRB5_DECODE_AP_REQ */
static krb5_error_code
get_key_from_keytab(krb5_context context,