Bring back krb5_kt_free_entry which really does the same thing as
authorSam Hartman <hartmans@mit.edu>
Mon, 4 Jan 2010 19:59:16 +0000 (19:59 +0000)
committerSam Hartman <hartmans@mit.edu>
Mon, 4 Jan 2010 19:59:16 +0000 (19:59 +0000)
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

src/include/k5-int.h
src/include/krb5/krb5.hin

index 8a37e08e10a670cb8427e2b98f711abac23fc8bf..43b780ed0b9e2ef0e58622251b6053f27b2c3250 100644 (file)
@@ -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 *);
 
index 76aef5659405657ae9fd98454f7eb1e0535a220c..09412738aca76032c149bfb600ec67023d5e5be8 100644 (file)
@@ -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