diff options
author | Greg Hudson <ghudson@mit.edu> | 2013-02-27 17:29:16 -0500 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2013-02-27 17:29:16 -0500 |
commit | 8df7b929c3ee272e8255d57720c3e299ebccd198 (patch) | |
tree | a20e87efe492ed60b0d25838ff825deb3820f2d3 /src/include/krb5 | |
parent | f09c97320e683a2ad0e42df63aeedd16b78c9ad2 (diff) | |
download | krb5-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.hin | 13 |
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 |