aboutsummaryrefslogtreecommitdiff
path: root/src/include/krb5
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2013-02-27 17:29:16 -0500
committerGreg Hudson <ghudson@mit.edu>2013-02-27 17:29:16 -0500
commit8df7b929c3ee272e8255d57720c3e299ebccd198 (patch)
treea20e87efe492ed60b0d25838ff825deb3820f2d3 /src/include/krb5
parentf09c97320e683a2ad0e42df63aeedd16b78c9ad2 (diff)
downloadkrb5-8df7b929c3ee272e8255d57720c3e299ebccd198.zip
krb5-8df7b929c3ee272e8255d57720c3e299ebccd198.tar.gz
krb5-8df7b929c3ee272e8255d57720c3e299ebccd198.tar.bz2
Add krb5_free_enctypes API
Rename krb5_free_ktypes to krb5_free_enctypes and add it to the public API. ticket: 7584
Diffstat (limited to 'src/include/krb5')
-rw-r--r--src/include/krb5/krb5.hin13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/krb5/krb5.hin b/src/include/krb5/krb5.hin
index 687f2b9..e95d029 100644
--- a/src/include/krb5/krb5.hin
+++ b/src/include/krb5/krb5.hin
@@ -3038,6 +3038,8 @@ krb5_set_default_tgs_enctypes(krb5_context context, const krb5_enctype *etypes);
* keys within @a context, as determined by configuration or by a previous call
* to krb5_set_default_tgs_enctypes().
*
+ * Use krb5_free_enctypes() to free @a ktypes when it is no longer needed.
+ *
* @retval 0 Success; otherwise - Kerberos error codes
*/
krb5_error_code KRB5_CALLCONV
@@ -4757,6 +4759,17 @@ void KRB5_CALLCONV
krb5_free_string(krb5_context context, char *val);
/**
+ * Free an array of encryption types.
+ *
+ * @param [in] context Library context
+ * @param [in] val Array of enctypes to be freed
+ *
+ * @version First introduced in 1.12
+ */
+void KRB5_CALLCONV
+krb5_free_enctypes(krb5_context context, krb5_enctype *val);
+
+/**
* Free an array of checksum types.
*
* @param [in] context Library context