1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-30 06:50:24 +03:00

krb5_wrap: Document smb_krb5_enctype_to_string()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andreas Schneider 2016-08-29 09:32:25 +02:00 committed by Andrew Bartlett
parent 6d063dffb5
commit 8abd9b5f07

View File

@ -937,7 +937,20 @@ krb5_error_code smb_krb5_kt_free_entry(krb5_context context,
}
/* caller needs to free etype_s */
/**
* @brief Convert an encryption type to a string.
*
* @param[in] context The library context.
*
* @param[in] enctype The encryption type.
*
* @param[in] etype_s A pointer to store the allocated encryption type as a
* string.
*
* @return 0 on success, a Kerberos error code otherwise.
*
* The caller needs to free the allocated string etype_s.
*/
krb5_error_code smb_krb5_enctype_to_string(krb5_context context,
krb5_enctype enctype,
char **etype_s)