From b590623a65ecb096cc003bbcde78dbb62dcf703c Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Sun, 12 Mar 2000 20:42:21 +0000 Subject: [PATCH] Also change kdc_insert_lookaside() to take a const krb5_fulladdr * git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12103 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/ChangeLog | 4 ++-- src/kdc/kdc_util.h | 2 +- src/kdc/replay.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index 823128df2..d25a0ee8e 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -1,7 +1,7 @@ 2000-03-12 Ezra Peisach - * replay.c, kdb_util.h (kdc_check_lookaside): Make second argument - const to maintain const chain from dispatch.c. + * replay.c, kdb_util.h (kdc_check_lookaside, kdc_insert_lookaside): + Make second argument const to keep handle compiler warnings. 2000-03-01 Tom Yu diff --git a/src/kdc/kdc_util.h b/src/kdc/kdc_util.h index 9f827674f..362dc1fb4 100644 --- a/src/kdc/kdc_util.h +++ b/src/kdc/kdc_util.h @@ -154,7 +154,7 @@ krb5_error_code return_padata /* replay.c */ krb5_boolean kdc_check_lookaside PROTOTYPE((krb5_data *, const krb5_fulladdr *, krb5_data **)); -void kdc_insert_lookaside PROTOTYPE((krb5_data *, krb5_fulladdr *, +void kdc_insert_lookaside PROTOTYPE((krb5_data *, const krb5_fulladdr *, krb5_data *)); /* which way to convert key? */ diff --git a/src/kdc/replay.c b/src/kdc/replay.c index d513b223a..cc0d68f45 100644 --- a/src/kdc/replay.c +++ b/src/kdc/replay.c @@ -129,7 +129,7 @@ kdc_check_lookaside(inpkt, from, outpkt) void kdc_insert_lookaside(inpkt, from, outpkt) register krb5_data *inpkt; - register krb5_fulladdr *from; + register const krb5_fulladdr *from; register krb5_data *outpkt; { register krb5_kdc_replay_ent *eptr; -- 2.26.2