1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

s3-krb5 Remove unused get_enctype_from_ap_req

Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Andrew Bartlett 2012-03-12 18:41:57 +11:00 committed by Stefan Metzmacher
parent 0e2d659c94
commit e01dc1c7bf

View File

@ -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 */