From ec57261a3fc2d36539dcb5689ff818e4d6e330df Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Sun, 12 Mar 2000 20:34:28 +0000 Subject: [PATCH] * replay.c, kdb_util.h (kdc_check_lookaside): Make second argument const to allow passing a const krb5_fulladdr * and keeping the compiler happy. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12102 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/ChangeLog | 5 +++++ src/kdc/kdc_util.h | 2 +- src/kdc/replay.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index 62a1f21dc..823128df2 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -1,3 +1,8 @@ +2000-03-12 Ezra Peisach + + * replay.c, kdb_util.h (kdc_check_lookaside): Make second argument + const to maintain const chain from dispatch.c. + 2000-03-01 Tom Yu * main.c: Move kdc_initialize_rcache() to kdc_util.c diff --git a/src/kdc/kdc_util.h b/src/kdc/kdc_util.h index d985708cf..9f827674f 100644 --- a/src/kdc/kdc_util.h +++ b/src/kdc/kdc_util.h @@ -152,7 +152,7 @@ krb5_error_code return_padata krb5_key_data *client_key, krb5_keyblock *encrypting_key)); /* replay.c */ -krb5_boolean kdc_check_lookaside PROTOTYPE((krb5_data *, krb5_fulladdr *, +krb5_boolean kdc_check_lookaside PROTOTYPE((krb5_data *, const krb5_fulladdr *, krb5_data **)); void kdc_insert_lookaside PROTOTYPE((krb5_data *, krb5_fulladdr *, krb5_data *)); diff --git a/src/kdc/replay.c b/src/kdc/replay.c index edc7ad68e..d513b223a 100644 --- a/src/kdc/replay.c +++ b/src/kdc/replay.c @@ -73,7 +73,7 @@ static int num_entries = 0; krb5_boolean kdc_check_lookaside(inpkt, from, outpkt) register krb5_data *inpkt; - register krb5_fulladdr *from; + register const krb5_fulladdr *from; register krb5_data **outpkt; { krb5_int32 timenow; -- 2.26.2