Put krb5int_locate_server back in the accessor "export" list
authorKen Raeburn <raeburn@mit.edu>
Wed, 4 Jun 2003 03:06:29 +0000 (03:06 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 4 Jun 2003 03:06:29 +0000 (03:06 +0000)
ticket: 1549
status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15561 dc483132-0cff-0310-8789-dd5450dbe970

src/include/ChangeLog
src/include/k5-int.h
src/lib/krb5/os/ChangeLog
src/lib/krb5/os/accessor.c

index 3ed279580a1fce45df1c4db541ab48fd31d34288..7b5f4e7f9754d5beed7e4054ebe8a18fa4e4062e 100644 (file)
@@ -1,3 +1,7 @@
+2003-06-03  Ken Raeburn  <raeburn@mit.edu>
+
+       * k5-int.h (struct _krb5int_access): Add locate_server back in.
+
 2003-05-27  Ken Raeburn  <raeburn@mit.edu>
 
        * k5-int.h (KRB524_SERVICE, KRB524_PORT): Moved here...
index 2139b86d7e04671b3817b93d46153a424f12c144..d599f972c0ebb053050218242d26114033479ea8 100644 (file)
@@ -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 *);
index e18b95f32d2b039f6bc62f0e71d6e659da2dc273..2ce37e88fe9f096e7903bbaf0d1419931ff04964 100644 (file)
@@ -1,5 +1,8 @@
 2003-06-03  Ken Raeburn  <raeburn@mit.edu>
 
+       * 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.
index afdd023cac0b2e569d6ff492a0278b7dd0e66fe1..04524d7c8d6d576ab2f04e9f89db560a05b6c8b3 100644 (file)
@@ -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