[krbdev.mit.edu #7929] git commit
Greg Hudson via RT
rt-comment at krbdev.mit.edu
Mon Jun 2 18:53:28 EDT 2014
Use k5_transport(_strategy) enums for k5_sendto
In k5_sendto and k5_locate_server, replace "socktype" parameters with
a new enumerator k5_transport, so that we can add new transports which
are not in the socket type namespace. Control the order in which we
make connections of different types using a new k5_transport_strategy
enumerator, to simplify the logic for adding new transports later.
Control the result of k5_locate_server with a no_udp boolean rather
than a socket type.
[ghudson at mit.edu: renamed type to k5_transport; k5_locate_server
no_udp change; clarified commit message; fix for Solaris getaddrinfo]
[kaduk at mit.edu: name variables of type k5_transport 'transport']
[nalin at redhat.com: use transport rather than sock_type in more places,
add and use k5_transport_strategy, update the test program]
https://github.com/krb5/krb5/commit/9c6be00daca0b80aed94ec9680724f95e6be92e1
Author: Robbie Harwood (frozencemetery) <rharwood at club.cc.cmu.edu>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 9c6be00daca0b80aed94ec9680724f95e6be92e1
Branch: master
src/lib/krb5/os/changepw.c | 31 +++++-----
src/lib/krb5/os/hostrealm_domain.c | 2 +-
src/lib/krb5/os/locate_kdc.c | 75 +++++++++++++---------
src/lib/krb5/os/os-proto.h | 27 ++++++--
src/lib/krb5/os/sendto_kdc.c | 123 ++++++++++++++++++++++-------------
src/lib/krb5/os/t_locate_kdc.c | 24 ++++----
src/lib/krb5/os/t_std_conf.c | 2 +-
src/lib/krb5/os/t_trace.c | 6 +-
src/lib/krb5/os/t_trace.ref | 4 +-
src/lib/krb5/os/trace.c | 6 +-
10 files changed, 178 insertions(+), 122 deletions(-)
More information about the krb5-bugs
mailing list