diff options
author | Gerald Carter <jerry@samba.org> | 2006-11-28 21:11:20 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:16:11 -0500 |
commit | f53983079bc285ad8ced8fc4dd40df66fad13718 (patch) | |
tree | 811d79a70e2c2337ee36ca498853af3466be19d6 /source/libsmb | |
parent | 786318f84bef76c6acffa1ddf7cdba947509fbac (diff) | |
download | samba-f53983079bc285ad8ced8fc4dd40df66fad13718.tar.gz samba-f53983079bc285ad8ced8fc4dd40df66fad13718.tar.xz samba-f53983079bc285ad8ced8fc4dd40df66fad13718.zip |
r19939: ,fix compile warning about unused functions when not using heimdal
Diffstat (limited to 'source/libsmb')
-rw-r--r-- | source/libsmb/clikrb5.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/libsmb/clikrb5.c b/source/libsmb/clikrb5.c index 14b5285e45a..4092b4b2b90 100644 --- a/source/libsmb/clikrb5.c +++ b/source/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, |