* kts_g_ent.c, ktsrvtab.h (krb5_ktsrvtab_get_entry): Change the
authorEzra Peisach <epeisach@mit.edu>
Sat, 29 Jan 2000 00:56:34 +0000 (00:56 +0000)
committerEzra Peisach <epeisach@mit.edu>
Sat, 29 Jan 2000 00:56:34 +0000 (00:56 +0000)
  third argument to krb5_const_principal (from krb5_principal) to
  agree with krb5_kts_ops entries.

gcc warning about incompatible pointer types.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11980 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/keytab/srvtab/ChangeLog
src/lib/krb5/keytab/srvtab/kts_g_ent.c
src/lib/krb5/keytab/srvtab/ktsrvtab.h

index 9d2468752d3c55e4c49d6c4d0cbb78e25a13b95b..a4157a0ac5cf402ff651a445063e5cf94a2bf859 100644 (file)
@@ -1,3 +1,10 @@
+Fri Jan 28 19:53:44 2000  Ezra Peisach  <epeisach@mit.edu>
+
+       * kts_g_ent.c, ktsrvtab.h (krb5_ktsrvtab_get_entry): Change the
+       third argument to krb5_const_principal (from krb5_principal) to
+       agree with krb5_kts_ops entries.
+       
+
 1999-10-26  Tom Yu  <tlyu@mit.edu>
 
        * Makefile.in: Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES,
index 9d94fee3f716cb78a6011f65b13e56cdf596abd8..e422c387fa11b3aefd8443ecf71c812eeded40a6 100644 (file)
@@ -36,7 +36,7 @@ krb5_error_code KRB5_CALLCONV
 krb5_ktsrvtab_get_entry(context, id, principal, kvno, enctype, entry)
     krb5_context context;
     krb5_keytab id;
-    krb5_principal principal;
+    krb5_const_principal principal;
     krb5_kvno kvno;
     krb5_enctype enctype;
     krb5_keytab_entry * entry;
index 822405703adda99ffd7a3df2572839ea62392036..12f11891245d85a743b33d1fb373456987f3b7f5 100644 (file)
@@ -80,7 +80,7 @@ krb5_error_code KRB5_CALLCONV krb5_ktsrvtab_close
 krb5_error_code KRB5_CALLCONV krb5_ktsrvtab_get_entry
        PROTOTYPE((krb5_context,
                   krb5_keytab,
-                  krb5_principal,
+                  krb5_const_principal,
                   krb5_kvno,
                   krb5_enctype,
                   krb5_keytab_entry *));