Skip to content

Commit

Permalink
s3-krb5 Remove unused get_kvno_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 e01dc1c commit e5684b3
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions source3/libsmb/clikrb5.c
Original file line number Diff line number Diff line change
Expand Up @@ -686,19 +686,6 @@ bool get_krb5_smb_session_key(TALLOC_CTX *mem_ctx,
}
#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 */
if (ap_req->ticket->enc_part.kvno)
return ap_req->ticket->enc_part.kvno;
#else /* Heimdal */
if (ap_req->ticket.enc_part.kvno)
return *ap_req->ticket.enc_part.kvno;
#endif
return 0;
}

/* Prototypes */

krb5_error_code smb_krb5_renew_ticket(const char *ccache_string, /* FILE:/tmp/krb5cc_0 */
Expand Down

0 comments on commit e5684b3

Please sign in to comment.