From c83508a624cae3d69d660a850546941063aef856 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Tue, 24 Apr 1990 16:41:52 +0000 Subject: [PATCH] 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 --- src/kdc/kdc_util.c | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) 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; +} -- 2.26.2