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

@@ -64,7 +64,7 @@ pac_verify(void *ctx, krb5_context context,
return ret;
krb5_data_free(&data);
ret = _krb5_pac_get_kdc_checksum_info(context, *pac, &cstype, &rodc_id);
ret = krb5_pac_get_kdc_checksum_info(context, *pac, &cstype, &rodc_id);
if (ret)
return ret;