These functions have no need to modify the PACs passed in, and this
change permits us to operate on const PACs in the KDC.
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
}
static krb5_error_code kerberos_pac_buffer_present(krb5_context context,
- const krb5_pac pac,
+ const krb5_const_pac pac,
uint32_t type)
{
#ifdef SAMBA4_USES_HEIMDAL
}
krb5_error_code kerberos_pac_to_user_info_dc(TALLOC_CTX *mem_ctx,
- krb5_pac pac,
+ krb5_const_pac pac,
krb5_context context,
struct auth_user_info_dc **user_info_dc,
struct PAC_SIGNATURE_DATA *pac_srv_sig,