From 665f605b75cfc6ea1d94798c690998a0d28b8bec Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 4 Jun 2003 03:06:29 +0000 Subject: [PATCH] Put krb5int_locate_server back in the accessor "export" list ticket: 1549 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15561 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/ChangeLog | 4 ++++ src/include/k5-int.h | 4 ++++ src/lib/krb5/os/ChangeLog | 3 +++ src/lib/krb5/os/accessor.c | 1 + 4 files changed, 12 insertions(+) diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 3ed279580..7b5f4e7f9 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,7 @@ +2003-06-03 Ken Raeburn + + * k5-int.h (struct _krb5int_access): Add locate_server back in. + 2003-05-27 Ken Raeburn * k5-int.h (KRB524_SERVICE, KRB524_PORT): Moved here... diff --git a/src/include/k5-int.h b/src/include/k5-int.h index 2139b86d7..d599f972c 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -1656,6 +1656,10 @@ typedef struct _krb5int_access { unsigned int icount, const krb5_data *input, krb5_data *output); /* service location and communication */ + krb5_error_code (*locate_server) (krb5_context, const krb5_data *, + struct addrlist *, int, + const char *, const char *, + int, int, int, int); krb5_error_code (*sendto_udp) (krb5_context, const krb5_data *msg, const struct addrlist *, krb5_data *reply, struct sockaddr *, socklen_t *); diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index e18b95f32..2ce37e88f 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,5 +1,8 @@ 2003-06-03 Ken Raeburn + * accessor.c (krb5int_accessor): Initialize restored locate_server + field. + * locate_kdc.c (struct srv_dns_entry): Move to top level. (make_srv_query_realm): Separate from krb5_locate_srv_dns_1; just do query and return results. diff --git a/src/lib/krb5/os/accessor.c b/src/lib/krb5/os/accessor.c index afdd023ca..04524d7c8 100644 --- a/src/lib/krb5/os/accessor.c +++ b/src/lib/krb5/os/accessor.c @@ -39,6 +39,7 @@ krb5int_accessor(krb5int_access *internals, krb5_int32 version) internals_temp.krb5_hmac = krb5_hmac; internals_temp.md5_hash_provider = &krb5int_hash_md5; internals_temp.arcfour_enc_provider = &krb5int_enc_arcfour; + internals_temp.locate_server = &krb5int_locate_server; internals_temp.sendto_udp = &krb5int_sendto; internals_temp.add_host_to_list = krb5int_add_host_to_list; #ifdef KRB5_KRB4_COMPAT -- 2.26.2