From 44f882afab547c3fd60d1bfca6fc7fcda93ecf35 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Sat, 29 Jan 2000 00:56:34 +0000 Subject: [PATCH] * 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. 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 | 7 +++++++ src/lib/krb5/keytab/srvtab/kts_g_ent.c | 2 +- src/lib/krb5/keytab/srvtab/ktsrvtab.h | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/lib/krb5/keytab/srvtab/ChangeLog b/src/lib/krb5/keytab/srvtab/ChangeLog index 9d2468752..a4157a0ac 100644 --- a/src/lib/krb5/keytab/srvtab/ChangeLog +++ b/src/lib/krb5/keytab/srvtab/ChangeLog @@ -1,3 +1,10 @@ +Fri Jan 28 19:53:44 2000 Ezra Peisach + + * 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 * Makefile.in: Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES, diff --git a/src/lib/krb5/keytab/srvtab/kts_g_ent.c b/src/lib/krb5/keytab/srvtab/kts_g_ent.c index 9d94fee3f..e422c387f 100644 --- a/src/lib/krb5/keytab/srvtab/kts_g_ent.c +++ b/src/lib/krb5/keytab/srvtab/kts_g_ent.c @@ -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; diff --git a/src/lib/krb5/keytab/srvtab/ktsrvtab.h b/src/lib/krb5/keytab/srvtab/ktsrvtab.h index 822405703..12f118912 100644 --- a/src/lib/krb5/keytab/srvtab/ktsrvtab.h +++ b/src/lib/krb5/keytab/srvtab/ktsrvtab.h @@ -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 *)); -- 2.26.2