* replay.c, kdb_util.h (kdc_check_lookaside): Make second argument
authorEzra Peisach <epeisach@mit.edu>
Sun, 12 Mar 2000 20:34:28 +0000 (20:34 +0000)
committerEzra Peisach <epeisach@mit.edu>
Sun, 12 Mar 2000 20:34:28 +0000 (20:34 +0000)
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
src/kdc/kdc_util.h
src/kdc/replay.c

index 62a1f21dccf9a9658106a2f605f18ebd59b4b850..823128df2562dceb77d3c3f552cff188611e7495 100644 (file)
@@ -1,3 +1,8 @@
+2000-03-12  Ezra Peisach  <epeisach@mit.edu>
+
+       * replay.c, kdb_util.h (kdc_check_lookaside): Make second argument
+       const to maintain const chain from dispatch.c.
+
 2000-03-01  Tom Yu  <tlyu@mit.edu>
 
        * main.c: Move kdc_initialize_rcache() to kdc_util.c
index d985708cf4a7cd930b6321eec1ce8c44bb1d7bc5..9f827674ff707f6c4f06d30f93a855765e0142c4 100644 (file)
@@ -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 *));
index edc7ad68ecefd2bf5ee4e1926f136bbc5bfd055c..d513b223a5d110a60abc991393329cd9eccc38eb 100644 (file)
@@ -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;