heimdal: Make _krb5_pac_get_kdc_checksum_info() into a global function

This lets us call it from Samba.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>

[abartlet@samba.org Similar to Samba commit 3bdce12789af1e7a7aba56691f184625a432410d
 but also fixed for caller in Heimdal windc plugin tests]
This commit is contained in:
Joseph Sutton
2021-10-08 15:43:41 +13:00
committed by Luke Howard
parent 2f21cf9933
commit 814e58fda8
5 changed files with 11 additions and 11 deletions

View File

@@ -1294,10 +1294,10 @@ out:
}
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
_krb5_pac_get_kdc_checksum_info(krb5_context context,
krb5_pac pac,
krb5_cksumtype *cstype,
uint16_t *rodc_id)
krb5_pac_get_kdc_checksum_info(krb5_context context,
krb5_pac pac,
krb5_cksumtype *cstype,
uint16_t *rodc_id)
{
krb5_error_code ret;
krb5_storage *sp = NULL;