1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

r19939: ,fix compile warning about unused functions when not using heimdal

This commit is contained in:
Gerald Carter 2006-11-28 21:11:20 +00:00 committed by Gerald (Jerry) Carter
parent 786318f84b
commit f53983079b

View File

@ -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,