From: Sam Hartman Date: Mon, 4 Jan 2010 19:59:16 +0000 (+0000) Subject: Bring back krb5_kt_free_entry which really does the same thing as X-Git-Tag: krb5-1.8-alpha1~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4c34730708c404e93920b2afc4f00e91f617497a;p=krb5.git Bring back krb5_kt_free_entry which really does the same thing as krb5_free_keytab_entry_contents per discussion on krbdev in order to avoid breaking samba builds. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23581 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/k5-int.h b/src/include/k5-int.h index 8a37e08e1..43b780ed0 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -2607,10 +2607,6 @@ krb5_error_code krb5_generate_seq_number(krb5_context, const krb5_keyblock *, krb5_error_code KRB5_CALLCONV krb5_kt_register(krb5_context, const struct _krb5_kt_ops *); -/* use krb5_free_keytab_entry_contents instead */ -krb5_error_code KRB5_CALLCONV krb5_kt_free_entry(krb5_context, - krb5_keytab_entry * ); - krb5_error_code krb5_principal2salt_norealm(krb5_context, krb5_const_principal, krb5_data *); diff --git a/src/include/krb5/krb5.hin b/src/include/krb5/krb5.hin index 76aef5659..09412738a 100644 --- a/src/include/krb5/krb5.hin +++ b/src/include/krb5/krb5.hin @@ -1816,6 +1816,11 @@ krb5_kt_default(krb5_context, krb5_keytab * ); krb5_error_code KRB5_CALLCONV krb5_free_keytab_entry_contents(krb5_context, krb5_keytab_entry *); +/* use krb5_free_keytab_entry_contents instead; this does the same thing but is + * misnamed and retained for backward compatability.*/ +krb5_error_code KRB5_CALLCONV krb5_kt_free_entry(krb5_context, + krb5_keytab_entry * ); + /* remove and add are functions, so that they can return NOWRITE if not a writable keytab */ krb5_error_code KRB5_CALLCONV