1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

krb5_wrap: Document smb_krb5_kt_get_enctype_from_entry()

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:27:55 +02:00 committed by Andrew Bartlett
parent d1de425385
commit eefed8a629

View File

@ -896,6 +896,13 @@ krb5_error_code smb_krb5_gen_netbios_krb5_address(smb_krb5_addresses **kerb_addr
return ret;
}
/**
* @brief Get the enctype from a key table entry
*
* @param[in] kt_entry Key table entry to get the enctype from.
*
* @return The enctype from the entry.
*/
krb5_enctype smb_krb5_kt_get_enctype_from_entry(krb5_keytab_entry *kt_entry)
{
return KRB5_KEY_TYPE(KRB5_KT_KEY(kt_entry));