From: Ezra Peisach Date: Sun, 12 Mar 2000 20:34:28 +0000 (+0000) Subject: * replay.c, kdb_util.h (kdc_check_lookaside): Make second argument X-Git-Tag: krb5-1.2-beta1~23 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ec57261a3fc2d36539dcb5689ff818e4d6e330df;p=krb5.git * 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 --- 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;