Skip to content

Commit

Permalink
s3-krb5 Remove unused get_enctype_from_ap_req
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Metzmacher <[email protected]>
  • Loading branch information
abartlet authored and metze-samba committed Apr 3, 2012
1 parent 0e2d659 commit e01dc1c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions source3/libsmb/clikrb5.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit e01dc1c

Please sign in to comment.