diff options
| author | Greg Hudson <ghudson@mit.edu> | 2014-04-09 13:19:03 -0400 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2014-06-02 15:10:12 -0400 |
| commit | 42b3c2ed11c1e62c1691f868a6796983f93c3beb (patch) | |
| tree | 52a743fa78f0198d7de8ccc3e0dfad7f6345e519 /doc/admin/https.rst | |
| parent | ca8207d5ab5482e6d09a52bdb8b139cb5a28a95d (diff) | |
| download | krb5-42b3c2ed11c1e62c1691f868a6796983f93c3beb.tar.gz krb5-42b3c2ed11c1e62c1691f868a6796983f93c3beb.tar.xz krb5-42b3c2ed11c1e62c1691f868a6796983f93c3beb.zip | |
Simplify sendto_kdc.c
* Get rid of the "x" member of conn_state, which used to be a union
but hasn't been since r14742.
* Define a structure type for the "out" member of conn_state.
* Rename incoming_krb5_message to incoming_message for brevity.
* Make the "pos" member of incoming_message an offset instead of a
pointer, simplifying several present and future computations.
* Use "in" and "out" aliases to the conn_state in and out members
where it improves brevity.
* Rename set_conn_state_msg_length to set_transport_message and give
it a descriptive comment.
* Call set_transport_message from start_connection only, instead of
once in add_connection and perhaps again in start_connection. To
make this possible, pass the original message argument to maybe_send
and start_connection.
* Use make_data and empty_data helpers where appropriate.
Diffstat (limited to 'doc/admin/https.rst')
0 files changed, 0 insertions, 0 deletions
