svn rev #23581: trunk/src/include/ krb5/

hartmans@MIT.EDU hartmans at MIT.EDU
Mon Jan 4 14:59:16 EST 2010


http://src.mit.edu/fisheye/changelog/krb5/?cs=23581
Commit By: hartmans
Log Message:
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.


Changed Files:
U   trunk/src/include/k5-int.h
U   trunk/src/include/krb5/krb5.hin
Modified: trunk/src/include/k5-int.h
===================================================================
--- trunk/src/include/k5-int.h	2010-01-04 19:59:12 UTC (rev 23580)
+++ trunk/src/include/k5-int.h	2010-01-04 19:59:16 UTC (rev 23581)
@@ -2607,10 +2607,6 @@
 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 *);
 

Modified: trunk/src/include/krb5/krb5.hin
===================================================================
--- trunk/src/include/krb5/krb5.hin	2010-01-04 19:59:12 UTC (rev 23580)
+++ trunk/src/include/krb5/krb5.hin	2010-01-04 19:59:16 UTC (rev 23581)
@@ -1816,6 +1816,11 @@
 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




More information about the cvs-krb5 mailing list