1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00

heimdal: Make _krb5_pac_get_kdc_checksum_info() into a global function

This lets us call it from Samba.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2021-10-08 15:43:41 +13:00 committed by Andrew Bartlett
parent 28a5a586c8
commit 3bdce12789
2 changed files with 5 additions and 5 deletions

View File

@ -1311,10 +1311,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;

View File

@ -470,6 +470,7 @@ HEIMDAL_KRB5_2.0 {
krb5_pac_add_buffer;
krb5_pac_free;
krb5_pac_get_buffer;
krb5_pac_get_kdc_checksum_info;
krb5_pac_get_types;
krb5_pac_init;
krb5_pac_parse;
@ -753,7 +754,6 @@ HEIMDAL_KRB5_2.0 {
_krb5_pac_sign;
_krb5_kdc_pac_sign_ticket;
_krb5_kdc_pac_ticket_parse;
_krb5_pac_get_kdc_checksum_info;
_kdc_tkt_insert_pac;
_kdc_tkt_add_if_relevant_ad;
_krb5_parse_moduli;