From: John Kohl Date: Tue, 24 Apr 1990 16:41:52 +0000 (+0000) Subject: add const where appropriate X-Git-Tag: krb5-1.0-alpha2~820 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c83508a624cae3d69d660a850546941063aef856;p=krb5.git add const where appropriate add hack versions of fetch_last_req_info, check_hot_list git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@575 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kdc/kdc_util.c b/src/kdc/kdc_util.c index e43737969..a392e577d 100644 --- a/src/kdc/kdc_util.c +++ b/src/kdc/kdc_util.c @@ -86,7 +86,7 @@ krb5_principal princ; krb5_error_code decrypt_tgs_req(tgs_req, from) krb5_tgs_req *tgs_req; -krb5_fulladdr *from; +const krb5_fulladdr *from; { krb5_error_code retval; krb5_data scratch; @@ -179,7 +179,7 @@ OLDDECLARG(krb5_keyblock **, key) krb5_error_code kdc_process_tgs_req(request, from) krb5_tgs_req *request; -krb5_fulladdr *from; +const krb5_fulladdr *from; { register krb5_ap_req *apreq = request->header2; int nprincs; @@ -282,3 +282,23 @@ int direction; return KRB5_KDB_ILLDIRECTION; } +/* This probably wants to be updated if you support last_req stuff */ + +krb5_error_code +fetch_last_req_info(dbentry, lrentry) +krb5_db_entry *dbentry; +krb5_last_req_entry ***lrentry; +{ + *lrentry = 0; + return 0; +} + + +/* XXX! This is a temporary place-holder */ + +krb5_error_code +check_hot_list(ticket) +krb5_ticket *ticket; +{ + return 0; +}